-
-
Notifications
You must be signed in to change notification settings - Fork 547
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
[4.x] Multi-site Duplicator Support #8665
[4.x] Multi-site Duplicator Support #8665
Conversation
Let's revisit this once #5946 is done, then we should make sure this action has appropriate permissions wired into it. |
no need to pass site since it's reading the locale from the descendant anyway test
Once digging into to hooking up permissions, it got more complicated. There were a bunch of edge cases to think about. We ended up simplifying it by getting rid of the toggle to choose whether localizations are duplicated or not. Now, they are always duplicated. However if you don't have permission for a particular site, the entries won't get duplicated into those. Answering my own questions from the issue:
Yup.
Just the ones it was already localized in.
The origin gets targeted for duplication instead, and thus all the localizations get duplicated.
Well, it doesn't. So don't. |
This pull request adds multi-site support to the Duplicate action available on entries.
Closes statamic/ideas#942.
Usage
When duplicating an entry, you'll get to pick between two "duplication modes":