Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Auto populate 'Admin' and/or 'Superuser' #50

Open
klemenag opened this issue Aug 20, 2020 · 0 comments
Open

Auto populate 'Admin' and/or 'Superuser' #50

klemenag opened this issue Aug 20, 2020 · 0 comments

Comments

@klemenag
Copy link

klemenag commented Aug 20, 2020

In webinterface (Admin --> Users --> ) there is an option to allow a user to be :

  • Admin ( Designates whether this user can perform administrative functions. )
  • Superuser ( Designates whether this user has all permissions without explicitly assigning them. )

By using mapping from Sentry ( 'owner', 'admin', 'manager', 'member') and LDAP groups, I have successfully integrated this functionality - so, a new user, as a member of a proper group in LDAP, is assigned a proper Sentry role.

But, users who are Owners and/or Admins don't have Admin and/or Superuser 'ticked' (turned on). So basically, a new member has a role of Owner or Admin, but he is not allowed in the Admin section.

Is it possible to assign this based on LDAP group membership (or any other parameter)?
Screenshot from 2020-08-20 10-51-12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant