Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix a bug about loading locales and status

create a 'canEdit' boolean allowing only sysadmin to edit user's details such as name and address. otherwise only edit user's roles.

  1. … 1 more file in changeset.
use proper spring context as Dapeng found out to fix OpenSessionInViewFilter-not-work issue

retrieve WebApplicationContext from proper servletContext to get IUserMangementService bean , as Dapeng found out to fix OpenSessionInViewFilter-not-work issue

  1. … 2 more files in changeset.
sysadmin shouldn't appear in list of roles to add (except for sysadmins)

password hashing and related checking, some cleanup

use service method getSupportedLocale

add restrictions based on new org permissions

  1. … 1 more file in changeset.
*** empty log message ***

make locale set by ServerLanguage in lams.xml the default locale for new users

giving learner role to users added to a course/class, so that their role list is not empty for that org (otherwise they will get an exception when logging in)

remove unnecessary role checking (done in web.xml)

change language/country in form to single locale field

  1. … 1 more file in changeset.
change list of users from which you can add/remove people to a course/class

add user to class gives user membership in corresponding course with same roles

specify roles when create user

  1. … 1 more file in changeset.
modified to use locale

  1. … 2 more files in changeset.
give learner role to new user created in root org

unnecessary since Role is now comparable

sort role list, switch from RoleDTO to Role

added some error checking and fixed create user

added primitive menu links, some fixes

  1. … 3 more files in changeset.
added roles to user display

  1. … 1 more file in changeset.
fix for adding more than 1 row into database at a time (previously hibernate would only add the first row and act like it had added subsequent rows)

add/remove users from organisations functionality

  1. … 4 more files in changeset.
fixed bug - couldn't remove more than 1 role at a time

Genericising the relationship between folders and workspaces - now one folder can be in many workspaces. Problem with the code though - when run from junit the relationship is set up okay, but when run in JBOSS the lams_workspace_workspace_folder records are not created.

  1. … 33 more files in changeset.
edit roles working, removed hard coded roles

  1. … 2 more files in changeset.
renamed UserOrgRolesDTO to RoleDTO

    • -0
    • +63
    ./java/org/lamsfoundation/lams/admin/web/RoleDTO.java
added workspace and workspaceFolder maintenance code since it's easier done here rather than in service layer. workspace/workspaceFolder/organisation/user may need be remodeled to make thing clearer