
| Line: 208 to 208 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Changed: | ||||||||
| < < | ObjectMethod isAdmin ($cUID) -> $boolean | |||||||
| > > | ObjectMethod isAdmin ($cUID,$topic,$web) -> $boolean | |||||||
True if the user is an admin
| ||||||||
| Line: 224 to 224 | ||||||||
| Added: | ||||||||
| > > | ObjectMethod getEffectiveUser ($cUID) -> $cUIDReturns the effective user when UserMasquerading is in action. Returns the argument as it is otherwise.ObjectMethod getRealUser ($cUID) -> $cUIDReturns the real user when UserMasquerading is in action. Returns the argument as it is otherwise. | |||||||
ObjectMethod getLoginName ($cUID) -> $loginGet the login name of a user. Returns undef if the user is not known. | ||||||||
| Line: 295 to 309 | ||||||||
| Changed: | ||||||||
| < < | ObjectMethod isInGroup ($cUID,$group) -> $boolean | |||||||
| > > | ObjectMethod isInGroup ($cUID,$group,$topic,$web) -> $boolean | |||||||
| Test if the user identified by $cUID is in the given group. | ||||||||
| Added: | ||||||||
| > > | That is determined in the context of $topic and $web, which matters in context dependent user masquerading a user mapping handler may do. | |||||||
| Line: 371 to 388 | ||||||||
ObjectMethod _renderUserDataField ($fieldRef) | ||||||||
| Added: | ||||||||
| > > |
ObjectMethod canCreateWeb ($web) -> $booleanObjectMethod getAffiliation ($cUID) -> $affiliation | |||||||