Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterJawad,
1) Check if there are no any restrictions set for this user at his ‘Edit posts restrictions’ section.
2) ‘edit_post’, ‘delete_post’ are so called meta capabilities which are mapped by WordPress to the real user capabilities ‘edit_posts’, ‘edit_others_posts’, etc.
For example you check if user can edit the post. If it’s his post, it’s enough to have ‘edit_posts’. Then if this post is published, it’s needed to have ‘edit_published_posts’.
That is for 1 ‘edit_post’ meta capability 2 real capabilities are required. In case user is not an author of this post, WordPress will check if user has ‘edit_others_posts’, etc.
Look at
wp-includes/capabilities.php map_meta_cap()
function for more details.There is no need to add meta capabilities directly to the roles by my opinion. But WooCommerce makes this.
Vladimir
KeymasterAbout blocking admin notices:
Vladimir
KeymasterYes, ‘edit_shop_orders’ is a required one.
Vladimir
Keymaster1) Admin notices – not so fast. I’m working on the answer currently.
2) You may turn ON this option ‘Activate “Create” capability for posts/pages/custom post types”. ‘create_posts’, ‘create_pages’, ‘create_products’ capabilities will be appear in the User Role Editor. Add them to the roles which should add posts, pages, products and other registered custom post types. Role without ‘create_products’ capability will can not add new product – just edit the existing one.
Vladimir
KeymasterJawad,
I understood now.
It’s a products list page. Screen options here are not related to the meta boxes. These options are table columns. It’s not possible to hide them with current version of URE currently. I will look what it’s possible to do with it.Vladimir
KeymasterHi,
Did you open Meta Boxes after you visited this ‘edit product’ page?
Vladimir
KeymasterHi,
1st way: Create a copy of instructor role with admin bar not hidden and assign it to this special user instead of ‘instructor’ role.
2nd way: do not hide admin bar for the instructor role. Create separate empty role with admin bar hidden and add it to the users with instructor role.
Vladimir
KeymasterHi Jawad,
Thanks for the good feedback.
You may use “Meta boxes access” add-on:
Do not forget “to show available meta boxes” to this add-on 1st – visit ‘Dashboard’ page in order add-on may see what meta boxes are currently available.Vladimir
KeymasterThanks for the information.
User Role Editor allows to see ‘Administrator’ role in the roles drop-down list under WordPress multisite in 2 cases:
1) user has ‘manage_network_users’ capability.
But this gives to a user access to the “Network Admin -> Users”.
2)ure_supress_administrators_protection
filter returns true.
In this case be careful, as non-admin users with ‘list_users’, ‘edit_users’ capabilities will can to edit users with ‘Administrator’ role and create other users with ‘Administrator’ role. So use this filter just in case you do not plan to have such users at your site.Vladimir
KeymasterDoes your test user has ‘Administrator’ role at this single site or you assigned him some custom role?
Vladimir
KeymasterWordPress does not store user password at the database. It stores just a password hash value. So it’s not possible to get user password in its original not encrypted form from the database. You should catch a password value earlier, when you change it.
Vladimir
Keymaster… An issue was resolved by e-mail.
Vladimir
KeymasterHello,
It’s not too secure to send passwords via e-mail. That’s why WordPress uses reset password technique. Why do not use this feature?
User inputs his email after click on the ‘reset password’ link at login page (wp-login.php?action=lostpassword) and gets by email a special protected link to a page, where he can input his new password.Vladimir
KeymasterHi André,
I need that widget to test and look on the source code. Is it a WordPress built-in or a custom one?
Custom code may use direct SQL query to the database and, thus, ignore any filters URE Pro sets for the posts queries made via WordPress API. Could you provide that plugin or theme?
Send .zip to the support [at-sign] role-editor.comI use code received from clients locally and for research purpose only.
Vladimir
KeymasterCheck if ‘Network Admin->Settings->User Role Editor->Multisite->Allow non super administrators to create, edit, and delete users’ option is turned on.
-
AuthorPosts