pashtet04 commented on issue #26373:
URL: https://github.com/apache/superset/issues/26373#issuecomment-2022297768

   I edit role directly in database
   
   ```
   insert into ab_permission_view_role (id, permission_view_id, role_id)
   values ('<id>', '<permission_view_id>', '<role_id>')
   ```
   
   Where:
   - <id> is a primary key
   - <permission_view_id> is a id from `public.ab_permission_view`. You need to 
lookup for necessary pair of `permission_id` and `view_menu_id`, for example 
`permission_id = 121`, where `121 == can_execute_sql_query` and `view_menu_id = 
4448`, where `4448 == SQLLab`
   - <role_id> is a Role id in superset, you can view them from roles pages in 
url or in `ab_role` table


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to