You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want users to be able to manage/see their own media only. I granted them ManageOwnMedia permission, but they are still able to list and manage all the media.
Expected behavior
When a user only has ManageOwnMedia, they should only be able to list, edit, delete media that was originally uploaded by them
@jtkech we have ManageMediaFolderAuthorizationHandler which handles permission for folders to a given path. But, I do not see anywhere were we provide path name as a resource and we do ManageOwnMedia check against the file owner.
I also don't think we store media meta info as in who uploaded the file. Do we store this info anywhere "storage meta" or database?
The text was updated successfully, but these errors were encountered:
After looking at existing PRs and issues related to that, we might just need to change the handler to grant ManageMedia when the user has ManageOwnMedia and the destination folder is the user's folder. The handler might then require the destination media (or folder) to provide this.
Describe the bug
I want users to be able to manage/see their own media only. I granted them
ManageOwnMedia
permission, but they are still able to list and manage all the media.Expected behavior
When a user only has
ManageOwnMedia
, they should only be able to list, edit, delete media that was originally uploaded by them@jtkech we have
ManageMediaFolderAuthorizationHandler
which handles permission for folders to a given path. But, I do not see anywhere were we provide path name as a resource and we doManageOwnMedia
check against the file owner.I also don't think we store media meta info as in who uploaded the file. Do we store this info anywhere "storage meta" or database?
The text was updated successfully, but these errors were encountered: