Change WordPress user roles and capabilities › Forums › Bug Reports › Rename a role does not cascade to subsites
Tagged: rename role on multisite
- This topic has 4 replies, 3 voices, and was last updated 6 years, 6 months ago by Vladimir.
-
AuthorPosts
-
04/08/2017 at 16:33 #4046[email protected]Participant
Vladimir,
I think we have discussed a little bit on this before but related to user role assignments changing to what’s on the “root site” in a multisite when a “Network Update” is done.
We have a role for “Site Editor”, which needs to have same name/capabilities across the multisite. I used your suggestion of checking “Apply to All Sites” before renaming the role to “New Name for Site Editor” in the root site.
However, the subsites still have the old name for the role. We don’t want to do a Update Network, since it was causing user’s role assignments to change for subsites if they had their own custom roles created.
Thanks,
Shweta05/08/2017 at 00:58 #4047VladimirKeymasterHi Shweta,
‘Apply to all sites’ checkbox takes effect for the ‘Update’ button only. This scheme will work:
1) Rename role;
2) Turn ON ‘Apply to all sites’ checkbox;
3) Click update.Role with this ID will be renamed/created if it does not exist at all subsites of a network. Capabilities of this role will be synchronized.
Thanks for showing me a problem. It’s useful to take a fresh look at a long time existing functionality.
I think now that it will be better to move ‘Appy to All sites’ checkbox from a main form to the update confirmation dialog opened after click on ‘Update’ button, to not confuse users. And may be add ‘Appy to All sites’ checkbox to the dialogs opened for other buttons.
05/08/2017 at 03:23 #4048[email protected]ParticipantThat worked as you suggested. Thanks!
29/04/2018 at 20:18 #4808wp.networkParticipantHi, @Shweta wondering if this workflow has continued to be reliable/practical for you?
@Vladimir, wondering if/how this was implemented?I think now that it will be better to move ‘Appy to All sites’ checkbox from a main form to the update confirmation dialog opened after click on ‘Update’ button, to not confuse users. And may be add ‘Appy to All sites’ checkbox to the dialogs opened for other buttons.
…basically, seems like ‘Apply to All sites’ option is much better fit in day-to-day operational workflows (than the current ‘Update Network’ action which seems like something I will use rarely if ever) since in networks I administer generally all subsites need to have at least option to maintain some unique roles/capabilities.
Imo, having to go to the main site to push specific changes is not most efficient workflow… would be really great to have options as you’ve described available at Network lvl UI panel, so I’m hoping that this was realized, or is in progress… pls advise 🙂
Cheers, Max30/04/2018 at 01:56 #4809 -
AuthorPosts
- You must be logged in to reply to this topic.