overhangio / tutor-cairn

Scalable, real-time analytics for Open edX
8 stars 13 forks source link

Superset's `AUTH_ROLES_SYNC_AT_LOGIN = True` makes it impossible to use role-based access controls #14

Closed regisb closed 1 year ago

regisb commented 1 year ago

Whenever an admin modifies the roles assigned to a user, the following warning pops up:

Screenshot 2023-09-12 at 16-43-26 Superset

This means that it's basically not possible to customize the permissions associated to a user.

Instead, we could/should do the following:

regisb commented 1 year ago

Did you check that this new feature actually works, and that we don't need to change the _oauth_calculate_user_roles function?

FahadKhalid210 commented 1 year ago

@regisb yes, it works without changing _oauth_calculate_user_roles function.