-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media permissions #9369
Comments
Can files under media permissions support historical versions, or can all content have historical versions that can be rolled back? The metadata of the database record file. Is there any adoption value? |
No, and there are no events to support this I believe since it's just showing what is on the filesystem. To do this you would need to create a custom content item which would store the image for each version. |
can anyone guide how we achieve like below: If that related to above discussion can guide how i achieved that? |
Related, or rather this is somewhat of a duplicate of: #3590. |
Please check out this PR for an intended Secure Media feature: #15173. While this doesn't implement edit permissions for folders in itself, it does add view permissions and fixes ManageOwnMedia, so I think it's good enough. |
A question for the people looking for secure media here about the #15173 PR: Would it be useful for you to be able to add permissions only to the folders in the Media root, or do you need permissions for subfolders separately as well? Currently, you can only define permissions for folders in the Media root, but those permissions also apply to their subfolders. I.e., it's just that subfolders can't have different permissions than their parent folders, nor can you define permissions for any folder outside of the Media root. |
We only need to protect the Media root directories, and their subdirectories should inherit that. I think can create as many folders and permissions as necessary to properly segment the files. |
Sounds good, thanks! |
@gvkries you stole my idea!!! Tremendous ideas ;) |
@sebastienros I only steal from the best 😇😉 |
If anybody has any feedback on the #15173 PR, please let us know under it. Otherwise, I'll merge it in a week. |
Create dynamic permissions for each first level folder:
When rendering or editing files in the admin, check for current user permissions.
The text was updated successfully, but these errors were encountered: