• Resolved Mike

    (@mduschak)


    I have noticed deselecting capabilities for roles is not consistent when syncing role to all sites.

    Core capabilities such as edit_pages works as expected – I can sync select and deselect of the capability and all sites will properly reflect the changes.

    Selecting and syncing capabilities for a role always seem to work as expected, regardless if the capability is core or related to a plugin.

    The problems I am seeing are when you deselect a capability the changes do not sync to all sites. The root site will reflect the deselection correctly, but none of my subsites will reflect the change and the checkboxes will still be checked.

    Example capabilities are ‘gravityforms edit entries’ (in fact, any of the GravityForm capabilities), ‘edit_content_blocks’, and custom capabilities that I have created.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @mduschak,

    Thank you for using our plugin.
    Could you explain it more specifically regarding the implementation in root site and subsites? Are you implementing the Capabilities to multisite? If yes, could you also tell how you configure it on your end?

    Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @mduschak ,

    I would like to follow up regarding the latest message I sent. If you use multisite and would like to sync all the information and configuration you have, you need to enable the following options in the plugin. Feel free to follow the steps in this documentation: https://publishpress.com/blog/control-roles-permissions-multisite/

    Let me know if you need anything

    Thread Starter Mike

    (@mduschak)

    Thanks @rizaprihananto for the response. I am using the plugin on a multisite.

    The problem I am having is when I uncheck some capabilities for a role and then sync to all sites, the deselection change is not happening on any of the sites but for the main navigation site.

    Here is a test case: on my main network site, for the author role, select the ‘gravityforms edit entries’ capability and then select sync to all sites and save. The change will be successfully shown on all of my sites as expected. Now, on my main network site, if I uncheck the ‘gravityforms edit entries’ capability for the author role and again sync and save, the ‘gravityforms edit entries’ capability will remain unchanged on my sites and the checkbox will still be checked.

    Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @mduschak ,

    Ah, I understand that.
    Currently, I try to manage the other capabilities by enable and disable some of those capabilities on Author role, everything works fine. Do you find this only happen to ‘gravityforms edit entries’ or to other capabilities as well?

    Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @mduschak ,

    I just installed GravityForm and replicate it on my site and it results the same as yours. So, basically it happens to GravityForm capabilities. Now, I have opened a discussion with the developer in the following GitHub if you would like to monitor it: https://github.com/publishpress/PublishPress-Capabilities/issues/1404

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Removing capability from role does not sync.’ is closed to new replies.