Opened 9 years ago

Closed 9 years ago

#1937 closed defect (fixed)

It is not possible to remove the default role for a new user

Reported by: Nicklas Nordborg Owned by: everyone
Priority: minor Milestone: BASE 3.5
Component: core Version:
Keywords: Cc:

Description

  1. Go to the Administrate -> User page and start to create a new user.
  2. Switch to the "Membership" tab. Remove the default role (typically 'Users') and select a different role.
  3. Save.
  4. The new user is a member of the both the 'Users' role and the other role.

Workaround is to edit the new user and remove the role one more time.

Note to developer! Check if the group membership is having the same issues.

Change History (2)

comment:1 by Nicklas Nordborg, 9 years ago

Seems like the group membership have the same issue.

It is also possible to trigger the same bug for existing items. For example, consider a group with some members in it. Edit the group and add another user. Then remove the user again before saving. The user is added to the group as a member. It seems to be a generic problem with all forms "membership" that uses the linkitems-2.js script.

comment:2 by Nicklas Nordborg, 9 years ago

Resolution: fixed
Status: newclosed

(In [6854]) Fixes #1937: It is not possible to remove the default role for a new user

Removing an item should set the 'value' to 'originalValue', not '0'.

Note: See TracTickets for help on using tickets.