← Back to team overview

mahara-contributors team mailing list archive

[Bug 1855383] Re: Create new user_roles system where you can assign custom roles to a user

 

other scenarios to test:

Auto group admin role

when
- a user is logged in by idp
- the saml auth instance for that idp has the auto group admin role set up
- the user has a role set up in the idp that matches the auto group admin role from the auth instance

then
- If the user doesn't exist on the site, the user gets added to all the groups on the site as a group admin

- If the user exists on the site, checks that the user exists in all the
groups on the site as an admin. If there is any group where theuser is
not part of or is a member but not admin, then the user gets added or
the role changed to admin.

- It a new group is created in the site, then all the users that have a
autogroupadmin role will be added to that group as an admin.

- If the role is removed from the user at the idp, then the next time
the users logs in through the idp, the user gets removed from the
groups.

- If a group admin is added by this feature, then no other user can
remove them from the groups or change their admin role, not even site
admin.

- If a user is removed from the site, it will be removed from the
groups. This is how it works in master already. But next time the users
logs in it will be created and added to the groups again, if the auth
instance allows auto create users.

- The users added as group admins by this feature will be subscribed to
forums but will not be able to unsubscribe


** Changed in: mahara
       Status: Fix Committed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1855383

Title:
  Create new user_roles system where you can assign custom roles to a
  user

Status in Mahara:
  In Progress

Bug description:
  This will allow one to create a module where they can assign a custom
  role to a user and have the system do custom things for that role

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1855383/+subscriptions


References