robdiciuccio commented on a change in pull request #11978:
URL: 
https://github.com/apache/incubator-superset/pull/11978#discussion_r541159018



##########
File path: docs/src/pages/docs/security-page.mdx
##########
@@ -4,19 +4,149 @@ title: Security
 route: /docs/security
 ---
 
-## Security
+### Roles
+
+Security in Superset is handled by Flask AppBuilder (FAB), an application 
development framework
+built on top of Flask.”. FAB provides authentication, user management, 
permissions and roles.
+Please read its [Security 
documentation](https://flask-appbuilder.readthedocs.io/en/latest/security.html).
+
+### Provided Roles
+
+Superset ships with a set of roles that are handled by Superset itself. You 
can assume
+that these roles will stay up-to-date as Superset evolves (and as you update 
Superset versions).
+
+Even though **Admin** users have the ability, we don't recommend that altering 
the
+permissions associated with each role (e.g. by removing or adding permissions 
to them). The permissions
+associated with each role will be re-synchronized to their original values 
when you run
+the **superset init** command (often done between Superset versions).
+
+### Admin
+
+Admins have all possible rights, including granting or revoking rights from 
other
+users and altering other people’s slices and dashboards.
+
+### Alpha
+
+Alpha users have access to all data sources, but they cannot grant or revoke 
access
+from other users. They are also limited to altering the objects that they own. 
Alpha users can add and alter data sources.
+
+### Gamma
+
+Gamma users have limited access. They can only consume data coming from data 
sources
+they have been given access to through another complementary role. They only 
have access to
+view the slices and dashboards made from data sources that they have access 
to. Currently Gamma
+users are not able to alter or add data sources. We assume that they are 
mostly content consumers, though they can create slices and dashboards.
+
+Also note that when Gamma users look at the dashboards and slices list view, 
they will
+only see the objects that they have access to.
+
+### sql_lab
+
+The **sql_lab** role grants access to SQL Lab. Note that while **Admin** users 
have access
+to all databases by default, both **Alpha** and **Gamma** users need to be 
given access on a per database basis.
+
+### Public
+
+Using this role, you can allow logged-out users to access some Superset 
features.
+
+By setting `PUBLIC_ROLE_LIKE_GAMMA = True` in your `superset_config.py` file, 
you grant

Review comment:
       > The config `PUBLIC_ROLE_LIKE_GAMMA` is deprecated and will be removed "
                   "in Superset 1.0. Please use `PUBLIC_ROLE_LIKE ` instead."




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to