darshanik commented on issue #23300:
URL: https://github.com/apache/superset/issues/23300#issuecomment-2287217043

   I'm facing the same issue as well. I have also tried the custom initializer 
class which calls "SupersetSecuritymanager.role_api"
   
   
![Superset_Forbidden_Error](https://github.com/user-attachments/assets/911f8c62-208d-4538-9c36-0b0d102eee76)
   
   
   My Custom Initializer class:
   
   
![image](https://github.com/user-attachments/assets/9ba98313-19d1-4dc4-bf75-6cd8ad11601c)
   
   
   superset-config.py:
   
   
![image](https://github.com/user-attachments/assets/68fd2740-9a01-44c2-8e7b-ffe1f5d77098)
   
![image](https://github.com/user-attachments/assets/0effab94-14e6-4c39-aef3-412b2be70fd4)
   
   I'm not sure if I'm missing anything. 
   
   However, I may not be able to drop the data base as our Superset instance is 
being used by many users in prod.
   
   Would appreciate any help. I looked into the source code and went all the 
way until the parent class that is being used by superset security manager and 
not sure why I'm getting 403 forbidden:
   
   
https://github.com/dpgaspar/Flask-AppBuilder/blob/master/flask_appbuilder/security/sqla/apis/role/api.py
   
   


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