Always-prog opened a new issue, #21606:
URL: https://github.com/apache/superset/issues/21606

   Permissions for Filters and FilterSets don't works as well.
   
   #### How to reproduce the bug
   
   1. Enable DASHBOARD_RBAC in Feature flags.
   2. Go to Users list
   3. Create a new user, and assign to him the Gamma role
   4. Check that _can edit FilterSets_, _can list FilterSets_ and other 
permissions for Superset is added.
   5. Go to any dashboard, edit properties, and add Gamma role to Roles list.
   4. Login as that new user
   5. Go to dashboard and see problem, user can't see/add/delete Filters or 
FilterSets.
   
   ### Expected results
   
   User can change Filters and FiltersSet if him have a permissions for this in 
himself role.
   
   ### Actual results
   
   User can't see Filters and FiltersSet, because him isn't owner of dashboard.
   
   #### Screenshots
   
   Here's Gamma role permissions. It contains permissions to Filters.
   
![image](https://user-images.githubusercontent.com/66589759/192612036-6494643e-d9e0-433c-bf4b-2e2bafa2dd5e.png)
   
   Here's screenshot of what user with permissions for adding/deleting Filters 
see. It can't delete or change anything.
   
![image](https://user-images.githubusercontent.com/66589759/192612545-fcd89312-31ce-4e80-9859-6261048e1775.png)
   
   ### Environment
   
   (please complete the following information):
   
   - Docker-non-dev.
   - any feature flags active: DASHBOARD_RBAC
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to