You are here: Foswiki>Tasks Web>Item2173 (16 Mar 2011, GeorgeClark)Edit Attach

Item2173: Foswiki::Users::isInGroup should also accept a groupname

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiUsers
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
and test for nested groupnames all the way down..

this means the _expandUserList code needs to keep track of the nested groups, and maybe should also keep track of what nested group a user comes in from.

once that is done, addUserToGroup and removeUserFromGroup could also add nested groups - I've written and disabled the FuncUser unit tests for that, as i don't (yet) have time to go into that depth.

and using that extra parsing info, we could then make GROUPINFO have an extra option to not expand nested groups either - so that the WikiGroups topic makes a little more sense for users of nested groups.

-- SvenDowideit - 29 Sep 2009

I believe that this was addressed in 1.1.2 with the addition of noexpand option, and in 1.1.0 with the new Groups API. Setting to No action.

-- GeorgeClark - 16 Mar 2011

ItemTemplate edit

Summary Foswiki::Users::isInGroup should also accept a groupname
ReportedBy SvenDowideit
Codebase trunk
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Engine
Component FoswikiUsers
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r3 - 16 Mar 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy