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

[5.x] Use Create Revision instead of Publish in publish form if no publish permission #10424

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

edalzell
Copy link
Contributor

@edalzell edalzell commented Jul 9, 2024

Right now if you have the ability to create/edit an entry but NOT the Manage Publish State permission, the "publish" button says "Publish" instead of "Create Revision".

No behaviour is changed, only the name.

@edalzell edalzell changed the title [5.x] Only show publish if you can manage publish state [5.x] Use Create Revision instead of Publish in publish form if no publish permission Jul 9, 2024
@edalzell edalzell requested a review from duncanmcclean July 9, 2024 21:33
@duncanmcclean duncanmcclean self-requested a review July 10, 2024 11:12
@jasonvarga jasonvarga merged commit b144cc1 into statamic:5.x Jul 10, 2024
15 checks passed
@edalzell edalzell deleted the feature/revision-publish-permission branch July 10, 2024 18:31
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 this pull request may close these issues.

3 participants