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

"Create Entry" button still visible for Pages Collection, even if user doesn't have permission to do so #2216

Closed
MikeHarrison opened this issue Aug 13, 2020 · 1 comment

Comments

@MikeHarrison
Copy link

Bug Description

I have set up an "Editor" role, which I have allowed to View and Edit entries in the Pages collection. However when using that Role the "Create Entry" button is still visible for that collection. It does give a warning message "This action is unauthorized" when I click the button, but I don't think it should be visible to roles that cannot use it.

How to Reproduce

  • Create a new role, and allow them to View Pages Entries and Edit Entries
  • Log in using that role and view the Pages collection

Extra Detail

Environment

Statamic version: 3.0.0.-beta-43

PHP version: 7.{?}

Install method (choose one):

  • Fresh install from statamic/statamic
@MikeHarrison MikeHarrison changed the title "Create Entry" button still visible for Collection, even if user doesn't have permission to do so "Create Entry" button still visible for Pages Collection, even if user doesn't have permission to do so Aug 13, 2020
@jasonvarga
Copy link
Member

Will be solved by #2168

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

No branches or pull requests

2 participants