apeisa / UserGroups

Adds users groups and page based permission to ProcessWire
GNU General Public License v2.0
11 stars 4 forks source link

Removing user from group fails #16

Closed apeisa closed 10 years ago

apeisa commented 10 years ago

bug

Is this only me, or are you seeing also? User I am trying to remove from group is superuser and currently logged in. Page 1007 mentioned in error is Admin > Access > User Groups > Everyone (the group I am editing is totally different).

teppokoivula commented 10 years ago

I can't seem to reproduce this. For some reason this user seems to have page "everyone" in her user_groups field -- which isn't allowed per said fields findPagesSelector. Could it be old data from earlier revisions? :)

niklaka commented 10 years ago

Based on what @teppokoivula said, I think @apeisa has added "Everyone" to users groups before 5aad8807d542739e9c7ec6a4e5a1314312d8b4d5 where this possibility was removed. There have been some big enough changes to the module(s) lately that I'd encourage a reinstall (if that hasn't been done for a while).

apeisa commented 10 years ago

Thanks guys, that was it.