Skip to content
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

Collection access.readVersions set to false does not hide versions tab, nor prevent unnecessary api request #146

Closed
HarleySalas opened this issue Apr 25, 2024 · 0 comments · Fixed by payloadcms/payload#6068
Assignees

Comments

@HarleySalas
Copy link

When you have access denied/false resolution for Collection access.readVersions, the Versions tab at the top is still visible. Would prefer it to be in a disabled state, or even better, just removed, to give less context to the user, for security reasons.

I also noticed that it still makes a request to retrieve versions while on the regular document view page, resulting in a massive Forbidden error block in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants