Map OCP Group to Superset Role#

To map a Superset role to an OCP group do the following:

  1. Navigate to the Superset Config file here

  2. Find AUTH_ROLES_MAPPING under stringData.superset_config

  3. Append this python dictionary with the OCP group and Superset Role using the following format:

    AUTH_ROLES_MAPPING = {
        "cluster-admins": ["Admin"],
        "operate-first": ["Admin"],
        "data-science": ["User"],
        ....
        "<YOUR_OCP_GROUP_HERE>": ["<SUPERSET_ROLES_HERE>", ...],
    }

Once done, submit a PR.

Note that the ODH and Superset pod will need to be restarted after the PR is merged.