Posts Tagged ‘User Role’
User Role Editor 3.5 is published
Sunday, February 19th, 2012
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.
What’s new in version 3.5 of
– 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, 2012The 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 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,
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,
User Role Editor 3.3 is published
Saturday, December 10th, 2011
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.
I published today version 3.3 of “– 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.
activate_plugins WordPress capability
Saturday, November 26th, 2011
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:
Let’s look together under the WordPress hood and see on examples of WordPress 3.3 core source code how it’s realized.
What is 1st WordPress user permissions system capability if we sort such list in alphabet order? Yes, activate_plugins one. Information about it at 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.
Lock s2Member roles during plugin update
Thursday, August 18th, 2011
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.
Data: You use 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.
Is unfiltered_html capability deprecated?
Saturday, February 19th, 2011
“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?
Eberle13 (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?