-
Notifications
You must be signed in to change notification settings - Fork 645
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
"Save as new entry" only available if user has publish rights #9577
Comments
Agree, any user with “Create” permissions should be able to duplicate an entry into a new unpublished draft. Unfortunately this could result in a breaking change for some plugins, so will need to make the change in 4.0. |
@brandonkelly This was originally on the list for 4.0, but it has been removed from the 4.0 milestone. Was this feature more difficult to implement than anticipated, or is there a reason it was delayed? Is there a new ETA for this change? This is still a pain-point for one of my clients. See the related discussion for details: #10244 |
Yeah it didn’t make the cut, sorry. Still something I want to get to but there were some complications that will take some thought. |
@brandonkelly That's too bad, but thanks for the info! This definitely has my vote for a highly anticipated feature 🙃 |
We just got to this for Craft 5 (#12303) 🎉 Going forward, any user with the “Create entry” permission will have the option to “Save as a new entry” for any entry they have permission to view, and the newly-created entry will start off in an unpublished draft state rather than a fully-saved entry. |
Craft 5.0.0-alpha.5 is out with that change. |
@anchovy That action triggers the if (
Craft::$app->request->isCpRequest &&
Craft::$app->request->actionSegments === ['elements', 'duplicate']
) {
// ...
} |
Description
I have some users who don't have "Publish live change" access in a section.
For these users the "Save as new entry" option isn't available in a dropdown, so they are unable to duplicate entries. I've had to tick "publish to live" so they can see the option.
This feels like a bug — users should be able to duplicate (save as new) without having "publish to live" access.
Additional info
The text was updated successfully, but these errors were encountered: