-
Notifications
You must be signed in to change notification settings - Fork 34
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 scope #10607
Comments
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a security implication: some intranet sites may be protected only by VHost - which is actually a bad practice. Due to this fact we need to introduce VHost config with a list of allowed projects (media projects)
mediaService.scope = <project1:draft>, <project2>
If not specified:
For endpoint mount limit the project to the one specified in site's path (allow from self)
/(admin)/site/<project>/<branch>/site-path/_/media/.../<project>(:branch))
For Slash API - allow any project and branch.
Note that content permissions will further limit the access to specific media.
The text was updated successfully, but these errors were encountered: