superset icon indicating copy to clipboard operation
superset copied to clipboard

Dashboard property "Roles" not activated when feature flag DASHBOARD_RBAC set to True

Open klazaj opened this issue 3 years ago • 6 comments

I am running Superset 1.2.0 with Docker.

According to Superset 1.2.0 Release Notes, "Roles" filter should be activated in Dashboard properties when the feature flag DASHBOARD_RBAC is set to True.

I set "DASHBOARD_RBAC": True in the feature_flags in the config file, but when I run docker-compose up --force-recreate --build "Roles" in Dashboard properties does not activate. It looks like so:

superset

Why isn't "Roles" activated?

klazaj avatar May 09 '22 08:05 klazaj

I have the same issue

saulshao avatar May 23 '22 01:05 saulshao

@saulshao I upgraded to version 1.5.0 and it works there.

klazaj avatar May 23 '22 07:05 klazaj

I downloaded the docker image from the docker hub but it did not work. The image on the docker hub was released about 4 hours ago(relates to this comment time), its version can't be identified.

saulshao avatar May 24 '22 02:05 saulshao

I'm using apache/superset:1.5.0 image, and I have the same issue.

humbledude avatar Jun 10 '22 06:06 humbledude

UDPATE: +++ IGNORE THIS COMMENT +++ Found an issue in the deployment configuration - the feature flag was configrued TWICE, one time with the flag, one time without it ... removing the wrong configuration solved the issue in superset 2.0.0

same issue with 2.0.0, with pervious version 1.4.1 is worked I pulled the official container from dockerhub (2.0.0) and activated the feature flag - "roles" configuration does not appear now anymore ...

FEATURE_FLAGS = {
    'DASHBOARD_RBAC': True,
	'ALERT_REPORTS': True
}

nigzak avatar Sep 15 '22 13:09 nigzak

could be a duplicate ticket to https://github.com/apache/superset/issues/18634 (happens also on V1.5.x)

nigzak avatar Sep 15 '22 13:09 nigzak

is there any update for this issue? Ping @amitmiran137

lazuardi21 avatar Jan 14 '23 10:01 lazuardi21

any updates on this ?

tkachuk09 avatar Feb 22 '23 10:02 tkachuk09

having the exact same issue with version 2.1.0 looking similar to this -- no role based access even after adding FEATURE_FLAGS = {"DASHBOARD_RBAC": True} image

ProjectsOfMLee avatar Aug 02 '23 21:08 ProjectsOfMLee

having the exact same issue with version 2.1.0 looking similar to this -- no role based access even after adding FEATURE_FLAGS = {"DASHBOARD_RBAC": True} image

++ I have the same issue. roles box does not seem to, although enabling DASHBOARD_RBAC flag in a proper way // v2.1.0

oguzhanyediel avatar Sep 13 '23 13:09 oguzhanyediel

I'm not sure if this is still an issue in current versions of Superset (3.x). If it is, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.

rusackas avatar Mar 12 '24 19:03 rusackas