tingobol / yii-rights

Automatically exported from code.google.com/p/yii-rights
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

when editing a role name missing bindings to users #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a role (Moder)
2. Bind user (Alex) to the role (Moder)
3. Change the name of the role (Moder) to another (Moder2)

What is the expected output? What do you see instead?
expected output...
All users who have had a role (Moder) should have a role (Moder2).
As a result, only changes the name of the role and remains bound to the user 
role.

see instead
Now. All users with the role (Moder), changing the name of the role, disappear 
right. Since the table is stored authassignment old role name

What version of the product are you using? On what operating system?
yii-rights-1.3.0.r147

Please provide any additional information below.

Necessary, on changing the name of a role (table authitem) to replace the old 
name for the new (in the table authassignment).

Original issue reported on code.google.com by vasilyev...@gmail.com on 30 Nov 2011 at 6:18

Attachments:

GoogleCodeExporter commented 9 years ago
expected to result in a change role name

Original comment by vasilyev...@gmail.com on 30 Nov 2011 at 6:23

Attachments: