-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Describe the feature you'd like
It would be nice to map email addresses to roles - if a user registers/signs in with an email address at the domain example.org
add them to the ExampleOrg
role. We're using the AzureAD auth provider without a Tenant ID (multi-tenant) so our customers are logging in with their own Office 365/Azure AD credentials.
Describe the benefits this feature would bring to BookStack users
In tandem with the email verification workflow this would allow BookStack to store customer specific documentation items with some access control (grant the role access to those chapters/books) and have the role auto assigned.
Additional context
This looks to be similar to the LDAP_USERS_TO_GROUPS
setup and could probably reuse some of that logic - assuming the feature is acceptable we wouldn't be opposed to trying for a PR.