Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.4
-
None
-
workspace subgroup member ui
-
Unknown
-
Description
If a user is part of a global group (A) and that global group is added as a subgroup inside the XWikiAllGroup (WB) of a subwiki (W), then that member becomes a member of the workspace W.
However, the UI does not reflect that since the velocity code always checks if the current user is part of the XWikiAllGroup WB and does not recurse in possible subgroups like A, thus, the user, even if he has the rights, is not recognized as a member by the UI and is given the option to join the group.
To better fix this issue, the membership logic should be moved from velocity to the Java component. That way, all UI that will check for membership will just call the subwiki service that will do all the proper checks.
Attachments
Issue Links
- blocks
-
XWIKI-7608 Ability to add groups as members, not only users to a workspace in the create new workspace page
- Open
- depends on
-
XWIKI-10377 Implement an API to get all the members of a group / all the groups of a user, across all wikis
- Closed
- is duplicated by
-
XWIKI-11301 Members of XWikiAllGroup's subgroups aren't automatically added as subwiki members
- Closed
- is related to
-
XWIKI-2900 Inclusion of groups in groups aren't taken into account when querying user memberships
- Closed
-
XWIKI-7531 Allow inviting global groups to a subwiki
- Open
- relates to
-
XWIKI-10516 Users in a sub-group of XWikiAllGroup are not listed in the User Directory of subwiki
- Open