• Resolved stoi2m1

    (@stoi2m1)


    I am trying to figure out why my administrator of a sub blog does not have the right to manage options on that sub blog.

    I removed the user and the re added the user as an administrator to make sure the users capabilities havent been modified by anything I might have done while tinkering with roles and capabilities.

    The ID of the sub blog is 2686 and under edit site >> user there only user listed is the administrator ID 7093

    Here are some of my results:

    current_user_can('manage_options')
    bool(false)
    
    $current_user->ID:
    int(7093)
    
    $current_user->cap_key:
    string(20) "wp_2686_capabilities"
    
    $current_user->roles:
    array(1) {
      [0]=>
      string(13) "administrator"
    }
    
    $current_user->caps:
    array(1) {
      ["administrator"]=>
      string(1) "1"
    }
    
    $current_user->allcaps:
    There are 65 of them mostly capabilities added by an events plugin (no manage_options capability)

    Thanks,
    Jesse

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Make a temp user and add that as admin to the site? Maybe it’s a plugin on that site…

    Thread Starter stoi2m1

    (@stoi2m1)

    The new user I created and added to that sub blog as an administrator has the same capabilities as the original user I was working with.

    What else can I try?

    I have manually added the capability and the member was able to do the things I expected. However this is effecting many of my members whom each have a sub blog by default as per the way I have configured my installation to work.

    Im thinking looking for functions which could be removing capabilities. What kind of functions or hooks would be used to intervene with the capabilities?

    Thanks,
    Jesse

    Thread Starter stoi2m1

    (@stoi2m1)

    So a co admin on my site must have done some work on the site without updating me. I just found a roles and caps plugin which removed a bunch of capabilities from the administrator roles.

    Thanks for you time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issues with Roles and Caps with Admin on Sub Blog’ is closed to new replies.