-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Do not expose information via relationfield serializer #1634
Comments
@maethu In general, permission to view an object's metadata in listings is controlled by the "Access contents information" permission on its container, not the View permission. Does the Anonymous role still have the Access contents information permission in your example above? If so, I think this is working as designed. |
Ohh ooops my bad... Should have known this. But I it still exposes information even without this permission. --> #1635 (comment) |
Description
The relationfield serializer should respect the
View
permission.Problem
Some metadata like, Title and Description can be exposed thru the relationsfield serializer
Reproduce
Result: bot page 2 and page 3 are serialized in relatedItems
Expected result
Only list accessible relatedItems and do not expose any metadata information
The text was updated successfully, but these errors were encountered: