thyseus / yii-user-management

a user management module collection for the yii framework
186 stars 122 forks source link

Problem with setting permission for User other than Admin #160

Open chibuzoro opened 10 years ago

chibuzoro commented 10 years ago

Apparently when attempting to set permission for type "User" and selecting the appropriate username from the "principal" drop down list, the stored permissions always return "Admin" as username, Also other fields do not get updated. However setting permissions for type "Role" works as expected with all values inserted into the database correctly. however, the value in the field "comment" is not returned when viewed through "role/permission/admin" yet it exist in the database. Also note - a clevertech backend boilerplate was used for its folder structure. before save after save