Support » Fixing WordPress » How do you edit roles?

  • I’m looking for a way to add more capabilities to certain roles. I’ve found the roles and capabilities in the wp-admin/includes/schema.php file, but adding capabilities to the role there doesn’t help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • See Roles and Capabilities, in the Resources section, a link to the Role Manager plugin.

    Thanks, I did try the Role Manager plugin, but it’s not compatible with 2.7. In particular, the buttons with capabilities doesn’t change when clicked. But even if it world work, I’d like to know where WP stores the role/capability data. Is it really in the schema.php file, and if so, why isn’t it responding to changes in that file?

    wp_user_roles is in wp_options table.

    Each user’s role/capability is in a wp_capabilities record in wp_usermeta

    Southbound,

    FYI, I’m using the Role Manager plugin effectively in 2.7, and also in my recently uprgraded 2.7.1, to restrict Role capabilities and lower a role’s User Level.

    Wow, that’s a lot of content for one table cell! Perhaps I should give Role Manager a second chance before trying to figure out how that markup works…

    For future releases, I think it would be great with a wp_roles and wp_capabilities table.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do you edit roles?’ is closed to new replies.