Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
“Posts/Pages/Custom post types edit restrictions” add-on allows this. Turn ON “Own data only” option for user or his role.
VladimirKeymasterHi,
Do you write about this version?
Show at screenshot what menu do you wish to hide.VladimirKeymasterHi,
I can not repeat this.
I tested SEOPress from wordpress.org and it did not remove ‘manage_options’ from my custom roles. I searched from its source code and did not find any commands related to ‘manage_options’ deletion.VladimirKeymasterHi,
Send URL and administrator credentials to support [at-sign] role-editor.com, if it’s applicable. I will investigate your case. If you can setup a development copy it would be better.
VladimirKeymasterAnother question – if you repeat the test will it show the same result – all pages 1st, then the list according to restrictions?
VladimirKeymasterDo you use any caching plugin? If Yes, switch off caching for the restricted role.
15/01/2021 at 03:15 in reply to: Ability to limit categories available to content authors in certain roles. #7273VladimirKeymasterHi Trevor,
It’s possible to allow/prohibit editing/creation of the post with selected categories for user or/and role using “Posts, pages edit restrictions” add-on.
VladimirKeymasterClarify also what do you mean under “user can ONLY view certain page IDs”. I suppose – view allowed pages at the list of pages available for editing at the wp-admin, right?
VladimirKeymasterHi,
Can not repeat this at the latest test. Check if user has another role(s) granted, which has edit restrictions also and may change the result which you wish.
VladimirKeymasterHi,
Thanks for the provided information. WPACU plugin uses ‘administrator’ role by default as the permission when defines its admin menu and checks current user permissions.
But it allows to replace ‘administrator’ with custom permission via filter. For example, code below provides access to WPACU plugin for any user with ‘manage_options’ capability:add_filter('wpacu_access_role', 'replace_wpacu_admin_permission', 10, 1 ); function replace_wpacu_admin_permission( $cap ) { $cap = 'manage_options'; return $cap; }
You can add it to the functions.php file of your active theme.
VladimirKeymasterIs ‘Site Manager’ role created by some plugin? I suppose the situation when that plugin recreates this role every time its loaded.
What if you add ‘manage_options’ to any other role? Will it stay there?
If Yes, use workaround – assign role with ‘manage_options’ to the user with ‘Site Manager’ role as the 2nd one.VladimirKeymasterHi,
Share plugin .zip with support [at-sign] role-editor.com via DropBox, Google Drive or similar service. I will look what permissions it requires. I install such software locally and use in the investigation purpose only.
VladimirKeymasterLook if 99 post has category, which also has view restriction at category level. It’s just assumption about possible conflict with a hook. It should not take place though.
It it will not help. I can look at your data on site tomorrow. If it’s applicable send URL and admin login credentials to support [at-sign] role-editor.com
VladimirKeymasterReally, when you create new role as a copy of ‘none’, URE adds to it at least one capability – ‘read’. Does your role has it? I did not make tests with absolutely empty roles.
It should not have difference what role do you use built-in or custom one. Role should exist and current user should have it.
I used ‘author’ role as an example only, it does not play a key role, what role to use.
VladimirKeymasterBtw., if you use any caching plugin, try to use different computers for testing view access.
-
AuthorPosts