-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
[7.x] Add Publish State permission #553
[7.x] Add Publish State permission #553
Conversation
@duncanmcclean let's talk about this one, as I believe we'd need a migration script otherwise it's breaking. |
Yes, we'll need an upgrade script for this. We've done permission-related update scripts in Core in the past, we could likely copy one of these. It'll only affect permisisons for resources where "publish states" are enabled. |
We don't need to abstract it, the "raw" code is short enough.
Released as part of v7.6.0. |
Matching the
canManagePublishState
from core and replicating this PR: statamic/cms#10424