The new user templates for groups
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
The group admins concept is very usefull, but limited in the current implementation. Existing limits are for example:
- Superadmin is unable to set Group Admin limits to quota settings (e.g. issue #7429)
- Group admin is not limited is not limited when choosing a username for new user (limited protection of user namespace consistency)
- Superadmin cannot predefine new user membership in other groups (e.g. a general group for restriction of usual users to reshare data).
A possible solution to consider is to deploy a group template (limits and predefined values) for every new group. Such a template would contain informations that would limit the group admin when creating a new user or editing current user of his group. No admin (Group admin or Superadmin) could exceed the limits specified by the group template unless changed by the Superadmin. The template could include for example:
- maximum quota that the admin is allowed to set for any group user (0 - the admin is not allowed to set any quota)
- fix username prefix/sufix (e.g. the group name as a fix prefix of the final username). The group admin define "User1" in the group with "Group1_" username prefix -> the inal username of user is "Group1_User1" .
- The Superadmin-defined membership in other groups that will be assigned to each new user.
The default group template will not contain any restrictions. The group template can have a design very close to the line for entering a new (editing existing) user.
thanks for consideration!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Begin by locating group administration and new-user flows, then define how templates govern quota limits, username prefixes or suffixes, and memberships while preserving an unrestricted default and Superadmin override.
Written by the indexing model from the issue text.
Assessment
- Domain
- authorization, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100