• Resolved michaelmatzkin

    (@michaelmatzkin)


    While I have full capablities of this plugin available to me, even assigning another user the WordPress role of administrator is not working. I’m trying to give other users the ability to create their own posts of custom code or edit the ones I have created.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Hello @michaelmatzkin,

    would try deactivating the other plugins and see if that changes anything? That should test for any possible conflicts with other plugins.

    Also, would you open the /wp-content/mu-plugins/ folder on your server to see if there are any “must-use” plugins installed there?

    Additionally, try the following:

    1. Install the Members plugin

    2. Go to Members > Roles

    3. Make sure that the Administrator role name has “– Your Role” at the end of it.

    4. Edit the Administrator role and make sure that all of the “Reviews” capabilities are checked.

    5. Repeat step 4 with any other role that needs the Reviews capabilities.

    6. After you have finished, deactivate/remove the Members plugin (unless you want to keep it).

    Thread Starter michaelmatzkin

    (@michaelmatzkin)

    I deactivated all other plugins, and it didn’t make any difference. There are no items in my /wp-content/mu-plugins/ folder. I have installed the Members plugin, made myself an Administrator, and assigned myself all capabilities. When I hover any custom code item, I see Edit | Trash | Deactivate below it. But when I assign all Custom CSS JS capabilities to someone else and sign in as that person, I see only Deactivate. And when I try to publish a new item, WordPress replies “Sorry, you are not allowed to edit this post.” Same problems as before.

    Plugin Author SilkyPress

    (@diana_burduja)

    What is the WP role of the “someone else”?

    I thought the capabilities can be assigned only to a role, not to a user. If I’m wrong, then can you give me detailed instructions on how to assign capabilities to a user with the Members plugin?

    If you assign the “Web Designer” role to the “someone else”, is the error still showing up?

    Thread Starter michaelmatzkin

    (@michaelmatzkin)

    The “someone else” would, in a real-life situation would have the Editor role. When that didn’t work in my testing, I made them an Administrator, with all CCJ privleges, just like me, but that still didn’t work. I have been using the User Role Editor plugin, which is similar to Members in that you can create custom roles, except that it also allows you to assign individual capabilities for augmenting any role. I have deactivated this plugin while I’m testing with Members. I want to read the Members documentation to see if there is some way to add capabilities independent of a user’s role, because it doesn’t look that way right now.

    Plugin Author SilkyPress

    (@diana_burduja)

    Instead of assigning the Administrator role with all the CCJ capabilities, would you try assigning the “Web Designer” role? Does that work?

    Thread Starter michaelmatzkin

    (@michaelmatzkin)

    I do not see Web Designer as one of the default roles in Members, but I was finally able to make my test account have CCJ capabilities even when they are not granted or even when they’re denied – by making my test account a super admin, as I am in my webmaster’s account.

    Please verify that non-superadmins in a multisite can’t have CCJ capabiities and if there is a solution.

    Plugin Author SilkyPress

    (@diana_burduja)

    The Simple Custom CSS and JS plugin uses the normal WordPress Roles and Capabilities system. If you read through the article you’ll notice that the Administrator capabilities are different for a single-site and for a multi-site installation. More precisely:

    Only Administrators of single site installations have the following capabilities. In Multisite, only the Super Admin has these abilities: … edit_users, add_users, create_users, delete_users …

    I’m afraid there is no fix for the issue. The user’s capabilities can be added only by a Super Admin because only a Super Admin has the “edit_users” capabilities. This is simply how the WordPress works.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t assign capabilities to another user with Simple Custom CSS and JS PRO’ is closed to new replies.