-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Open
Labels
global:usersRelated to users and rolesRelated to users and roleshome:favoriteRelated to the "favorite" section of the HomepageRelated to the "favorite" section of the Homepage
Description
Bug description
- Create chart with a user
- Log with another user which has access to the chart
- On welcome page, try to set chart as favorite
A 403 error occurs. When i look into the code, it's because i'm not the owner https://github.com/apache/superset/blob/5.0/superset/commands/chart/fave.py#L53. But shouldn't someone with access rights, but who is not an owner, be able to add it to their favorites ?
Screenshots/recordings
Try to set favorite with a user which is not the owner:
Error :
Superset version
5.0.0
Python version
3.11
Node version
18 or greater
Browser
Chrome
Additional context
No response
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
global:usersRelated to users and rolesRelated to users and roleshome:favoriteRelated to the "favorite" section of the HomepageRelated to the "favorite" section of the Homepage