We will manage user permissions using alpha, gamma, and customized roles. In superset_config.py, only one email ID should be whitelisted for registration. We will need more Google accounts to register for testing different permissions. You can put in any regex pattern in the whitelist field. Suffixes such as @amino.com are commonly used to allow users from a specific email domain to register on the web app. If a Google account email address matches the pattern specified in whitelist, it will be able to register itself.
We will modify superset_config.py so that a Google account with any email can register. Moving forward, new users will be assigned a Gamma role with no default permissions on any data source. In order to do that, we will modify two lines in the file:
# Modification 1
# Assigns Gamma role for new registered...