• Resolved brt

    (@brt)


    I noticed that i am unable to save the settings part:
    “Roles allowed to copy”.

    It tells me “Settings saved.” but the Checkboxes of the Selected Roles switched back to the state before.

    It does work as a Superadmin but not as the regular Administrator.

    Turned on debugging log, but no hints of a problem.

    Am i missing a capability which i need to add to the egular Administrator Role?

    https://www.ads-software.com/plugins/duplicate-post/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi!

    You’re right: changing that option relies on edit_users capability which by default on multisite only SuperAdmin have…
    I’m considering to switch to promote_users in the next version, it should fix that (also being more consistent)

    Hope this helps…

    If you need you can change line 33 of duplicate-post-options.php from
    if ( current_user_can( 'edit_users' ) && (isset($_GET['settings-updated']) && $_GET['settings-updated'] == true)){
    to
    if ( current_user_can( 'promote_users' ) && (isset($_GET['settings-updated']) && $_GET['settings-updated'] == true)){

    Thread Starter brt

    (@brt)

    oh thank you very much for your quick reply and the hint to the fix!

    works great, problem solved ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Roles allowed to copy’ is closed to new replies.