[dev] lib/Perms.php:getPermissions group issue
Bo Daley
bo at tilda.com.au
Wed Dec 17 17:07:04 PST 2003
Quoting "W. David Betts" <david at populus.com>:
> I ran into a problem, maybe somebody knows what the issue is. In
> lib/Perms.php:getPermissions it checks to see if the user is in one of the
> groups associated with the permission by using the call
> $groups->userIsInGroup($user, $groups->getGroupName($group))
> where $groups is a &Group::singleton() and $group comes from
> $permission->data['groups'].
>
> This doesn't work on my copy of cvs HEAD, but the call
> $groups->userIsInGroup($user, $group) does work.
> >From what I can tell Perms.php has had the getGroupName call since v 1.44.
>
> Any ideas on what's going on?
Yep at the moment there does seem to be a mismatch somewhere between the way
group permissions are being saved and the way they're being interpreted after
they've been returned from the backend. What app were you using when you
noticed this problem?
bo.
More information about the dev
mailing list