getsentry-ldap-auth
getsentry-ldap-auth copied to clipboard
Auto populate 'Admin' and/or 'Superuser'
In webinterface (Admin --> Users -->
- 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)?