You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/04/11 00:33:50 UTC

[GitHub] [incubator-superset] michellethomas commented on issue #7234: Adding permission for can_only_access_owned_queries

michellethomas commented on issue #7234: Adding permission for can_only_access_owned_queries
URL: https://github.com/apache/incubator-superset/pull/7234#issuecomment-481921082
 
 
   @mistercrunch to confirm you mean in `create_custom_perms` set `self.merge_perm('can_only_access_owned_queries', 'can_only_access_owned_queries')` instead as `self.merge_perm('can_only_access_owned_queries', 'QueryView')` right?
   
   Whenever I do this the permissions get removed whenever the app starts I'm guessing because of something that `AppBuilder` is doing (the permissions exist after running sync_role_definitions but get removed later).

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org