Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix bug where check for course admin/manager roles was being made on the user's class roles, not their course roles

LDEV-491 fix only 1 role being added

add javascript to check all/none checkboxes

  1. … 2 more files in changeset.
only add user to org once roles are saved; fixed bug where a hibernate cascade error occurred if user tried to remove themself from an organisation

only add user to org once roles are saved

list users according to login

clarify behaviour for whitespace (searching on a space returns nothing now)

user-search functionality

    • -0
    • +134
    ./org/lamsfoundation/lams/admin/web/UserSearchAction.java
  1. … 2 more files in changeset.
fixed bug where roles did not appear in user list until you refreshed the page. needed to attach the UserOrganisationRole to the UserOrganisation instead of just saving the UserOrganisationRole.

remove session scoped ActionForm when it's not going to used

struts hack

added new screen for assigning roles to users added to an organisation

    • -0
    • +72
    ./org/lamsfoundation/lams/admin/web/UserBean.java
    • -0
    • +110
    ./org/lamsfoundation/lams/admin/web/UserOrgRoleAction.java
    • -0
    • +74
    ./org/lamsfoundation/lams/admin/web/UserOrgRoleForm.java
    • -0
    • +115
    ./org/lamsfoundation/lams/admin/web/UserOrgRoleSaveAction.java
  1. … 3 more files in changeset.
Exception handler define for STRUTS.

  1. … 8 more files in changeset.
fix bug when checking for course admin role (for classes, need to check for role in the parent course)

change list of roles to omit course admin and course manager when editing a user's role in a class

fix bug where course admin was not allowed to view users of a class where they where course admin of that class' course.

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