Posts Tagged ‘User Role’

User Role Editor 3.5 is published

Sunday, February 19th, 2012

User Role Editor WordPress plugin version 3.5

User Role Editor v. 3.5

What’s new in version 3.5 of User Role Editor WordPress plugin?
– User Role Editor could be available now for single site administrators (Administrator role) under multi-site environment. You should define special constant in your blog wp-config.php file for that.
– One of “User Role Editor” users with 1100+ sites in the multi-site network reported that URE doesn’t update roles for all sites, but stalls somewhere in the middle. Other network update method is realized as alternative. Due to my tests it works approximately 30 times faster. If you met the same problem, try it. It will be great if you share your experience with me. But be careful. It’s recommended to make 1st try on the backup copy, not on a live site.
– Persian translation is updated.
Go to User Role Editor Change Log for details.

add_users WordPress user capability

Sunday, January 22nd, 2012

(image from hiren.info)

add_users capability

User capability “add_users” was added to the WordPress “Administrator” user role since WordPress version 3.0. But this capability is not used yet by WordPress itself in any form. Perhaps it was added for use in the future versions and could be use by themes and plugins developers of course. It does nothing in the WordPress 3.3.1. So you may skip it temporally in your WordPress capabilities system research.

The only place where you can find ‘add_users’ WordPress user capability in WordPress source code is
/wp-admin/includes/schema.php:

781
	$role->add_cap( 'add_users' );

User Role Editor WordPress plugin version 3.4

Saturday, January 21st, 2012

User Role Editor v. 3.4

User Role Editor v. 3.4

User Role Editor WordPress plugin v. 3.4 is published.
What’s new in this version? I got feature request from one user about ability to edit “Administrator” role. Sometimes plugins or themes add its own capabilities to other (may be its own) roles, not to administrator. Thus, you may meet with situation, when some user can do more, than blog admin. That’s not so good.
Starting from version 3.4. you can turn on missed user capabilities for Administrator role. This feature is turned off by default. In order to turn it on,

Read the rest of this entry

User Role Editor 3.3 is published

Saturday, December 10th, 2011

User Role Editor v. 3.3 WordPress plugin

User Role Editor 3.3

I published today version 3.3 of “User Role Editor” WordPress plugin. What’s new in this version?
– New role can be created as a copy of other existing one.
– You can hide/show deprecated capabilties (level_1 – level_10).
– Users with “Administrator” role are not shown to other users with “list_users” capability.
– Plugin data cleanup is added – plugin options will be automatically deleted if you delete plugin via WordPress link.
– Some code enhancements are applied, e.g. optimization and using of WordPress API instead of self-written routine.

Read the rest of this entry

activate_plugins WordPress capability

Saturday, November 26th, 2011

activate plugins

activate_plugins

What is 1st WordPress user permissions system capability if we sort such list in alphabet order? Yes, activate_plugins one. Information about it at WordPress Codex is very brief: “Allows access to Administration Panel options: Plugins”. But according its name this capability should allow at least activate plugins and may be something more. Where we can get right information about WordPress if not at WordPress’s core source code? I made little investigation and wish to share with you its results in this post.
Summary: activate_plugins capability on the top of the mountain really gives user access to “Plugins” and “Installed Plugins” menu items of WordPress admin back-end menu system and lets him activate/deactivate plugins one by one or applying bulk action to the set of selected plugins.
Let’s look together under the WordPress hood and see on examples of WordPress 3.3 core source code how it’s realized.

Read the rest of this entry

Lock s2Member roles during plugin update

Thursday, August 18th, 2011

Do not reset s2Member WordPress Plugin Roles

s2Member Roles

Data: You use s2Member WordPress plugin from PrimoThemes successfully.
For those who don’t know, this plugin supports powerful membership capabilities, protect members only content, integrates with PayPal, supports recurring billing, custom pages for registration, etc. It is a right tool if you wish to sell some of your blog content to your subscribers or just restrict access to some posts, pages or downloads.
Finally, you know s2Member and WordPress good enough to make your own changes to its user permissions systems. You edited one of S2member created user roles: “s2Member Level 1”, “s2Member Level 2”, “s2Member Level 3” or “s2Member Level 4” and you added some new capabilities to it. You can use User Role Editor WordPress plugin, which helps you make such changes very easy.
Problem: You lose all your custom changes to the s2Member user roles after every s2Member plugin update. What’s going wrong? What to do? Who can help?
Decision: Read this post to know how to leave your customized s2Member user roles unchanged.

Read the rest of this entry

Is unfiltered_html capability deprecated?

Saturday, February 19th, 2011

Is WordPress unfiltered_html capability deprecated

unfiltered_html

Eberle13 (“User Role Editor” plugin user) asked me a question, why ‘unfiltered_html’ user role capabiltiy does not work under WordPress multi-site? I found the reason and posted answer to the eberle13’s question at wordpress.org.
I curiously played with my test WordPress 3.1 Release Candidate 4 multi-site installation. This problem with using ‘unfiltered_html’ capability still exists in it. I decided to make special post about that as it could be interesting someone else. I tried to insert mordern HTML5 tag ‘<video>’ into post without success – it was removed by WordPress every time I saved the post changes inspite of I made that under account with ‘Editor’ role privileges. ‘Editor’ role has ‘unfiltered_html’ capability turned on by default. What is the reason? Why this capability failed to work?

Read the rest of this entry