TinTin-DXQ opened a new issue, #24234:
URL: https://github.com/apache/superset/issues/24234

   Users who are not in the Admin(Default Admin) role cannot edit any 
dashboards, even if the role I created is just to copy the Admin role and the 
dashboard is created by the user.
   
   #### How to reproduce the bug
   
   1. Go to 'List Roles'
   2. Click on 'Admin-Copy Role-Edit Admin copy-Add a User to the Admin copy 
Role' 
   3. Switch user, use this new user login superset
   4. Create a new dashboard
   5. Create a new chart (steps are not described in detail) and add to the 
dashboard
   6. Go to the dashboard
   7. See error: the user who created the dashboard cannot edit it
   
   ### Expected results
   the user who created the dashboard can edit it
   <img width="1277" alt="image" 
src="https://github.com/apache/superset/assets/34983295/aee53fbb-fb3b-4d2a-961e-da9278f1e017";>
   
   ### Actual results
   the user who created the dashboard cannot edit it
   <img width="1277" alt="image" 
src="https://github.com/apache/superset/assets/34983295/370c26c1-2ed1-4c6e-bde0-02aa7a3af8db";>
   
   ### Environment
   
   use docker-compose-non-dev.yml create the docker container, just change the 
file docker/pythonpath_dev/superset_config.py
   `FEATURE_FLAGS = {"ALERT_REPORTS": True, "DRILL_TO_DETAIL": True, 
"DRILL_BY": True}`
   
   - browser type and version: chrome Version 113.0.5672.127(x64)
   - superset version: `master`
   - python version: `Python 3.9.16`
   - node.js version: `none` 
   - any feature flags active: 
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] 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.
   
   ### Additional context
   
   Add any other context about the problem here.
   


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