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

Missed v-if's related to permissions? #2136

Closed
Rovaski opened this issue Jul 27, 2020 · 1 comment · Fixed by #2412
Closed

Missed v-if's related to permissions? #2136

Rovaski opened this issue Jul 27, 2020 · 1 comment · Fixed by #2412

Comments

@Rovaski
Copy link

Rovaski commented Jul 27, 2020

Bug Description

User has no permissions to edit a collection or edit blueprints; but is still shown the links for doing so on Collections Index.
User can't actually do those things, but should probably still remove the link, much like how the entries index works.

Same goes for Scaffold Resources.
User can access collections/{collection}/scaffold but can't actually set/create resources.

How to Reproduce

Do not have the permissions to edit a collection.
View the cp/collections page.
Click on the ellipse menu.
See the links you should not have.

Extra Detail

image
image

Environment

Statamic version: 3.0.0.-beta-40

@Rovaski Rovaski changed the title Missed v-if's related to permissions? Missed v-show's related to permissions? Jul 27, 2020
@Rovaski Rovaski changed the title Missed v-show's related to permissions? Missed v-if's related to permissions? Jul 27, 2020
@duncanmcclean
Copy link
Member

duncanmcclean commented Sep 14, 2020

I submitted a pull request yesterday that will fix this permissions issue, #2412.

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