Skip to content
Discussion options

You must be logged in to vote

This behavior isn't controlled by a specific permission — it's hardcoded role-based logic in the populate_owner_list() function in superset/commands/utils.py. The key line is:

if g.user.id not in owner_ids and not security_manager.is_admin():
    owner_ids.append(g.user.id)

This means non-admin users (including Alpha) are always auto-added as co-owners when they assign ownership, while Admin users bypass this because security_manager.is_admin() returns True for them [1]. The is_admin() check simply looks for the role matching the AUTH_ROLE_ADMIN config value (defaults to "Admin") [2].

So unfortunately, there's no permission you can grant to the Alpha role to get the same behavior — it's …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lilotter45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant