codeant-ai-for-open-source[bot] commented on PR #37295:
URL: https://github.com/apache/superset/pull/37295#issuecomment-3775080405

   ## **Sequence Diagram**
   
   Shows the added permission check that lets unauthenticated (Public) users 
access a dashboard's theme so public dashboards remain viewable when a theme is 
assigned.
   
   ```mermaid
   sequenceDiagram
       participant Unauthenticated User
       participant Web App
       participant SupersetSecurityManager
       participant Storage
   
       Unauthenticated User->>Web App: Request public dashboard
       Web App->>SupersetSecurityManager: Authorize as Public (check can_read 
Theme)
       SupersetSecurityManager-->>Web App: Allowed (can_read Theme)
       Web App->>Storage: Fetch dashboard and associated theme
       Storage-->>Web App: Dashboard + Theme
       Web App-->>Unauthenticated User: 200 OK (themed dashboard)
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


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