Forum Replies Created
-
AuthorPosts
-
09/06/2019 at 01:44 in reply to: Unchecked Gravity Forms capabilities still granted / accessible by Role #5754
Vladimir
KeymasterHi Garmine,
Look if role does not have this capability ‘gform_full_access’. If it was granted accidentally, revoke it.
07/06/2019 at 02:11 in reply to: Unrestricted access to CPT and its taxonomies, while restricting pages/posts. #5752Vladimir
KeymasterThanks for the help with testing.
Vladimir
KeymasterMentioned guide is about restriction of access of user with selected role to other roles during new user creation or user editing.
URE Pro does not realize any filters for which roles can be granted as primary or which roles can be granted as others only.
More, WordPress does not realize any special attribute to differ primary and other roles granted to user. There are just a list of roles, PHP array. 1st role in that list is counted as primary role. If you revoke that role from a user, role which was 2nd in the roles list for this user, will become 1st, or by other words – primary. WordPress checks user permissions by simple sum of all capabilities from all roles assigned to a user.
06/06/2019 at 01:39 in reply to: Unrestricted access to CPT and its taxonomies, while restricting pages/posts. #574831/05/2019 at 01:00 in reply to: User role granted user permissions but unable to edit all users #5743Vladimir
KeymasterTry to deactivate all plugins. Will this problem go away?
If Yes, activate plugins back one by one to isolate a reason.Vladimir
KeymasterHi @weblandschaft,
As this is not WordPress default functionality I need access to plugin which adds it, in order to check what permissions it requires. Can you share it?
Vladimir
KeymasterHi,
URE Pro edit restrictions add-on does not support TablePress due to its way of working with custom post type (more information here).
In order role can use “Add Media” button it should have ‘upload_files’ capability.
Send direct link to EasyAzon plugin if its available at wordpress.org/plugins
I need access to it in order to test and check what permissions it requires.Role is not available for deletion in URE while it was granted at least to one user. Revoke role from all users. You will see it after that at the list of roles for deletion at URE.
Vladimir
KeymasterHi Bjoern,
In order to protect post from view we need to set view restrictions at the post level.
Via user interface – open post for editing and select to which roles you allow to see its content at front-end.
By program – set related post meta fields values according to your needs.View restrictions at the role level – allows to set more exact criteria, via selected taxonomies, for example.
Vladimir
KeymasterJust be sure (re-check) that updated code was loaded at the testing page (force page refresh).
Vladimir
KeymasterOr course I will include this fix into the next update.
Vladimir
KeymasterQuick workaround:
open user-role-editor-pro/js/ure.js, go to line 552 and replace current:if ( ure_data.do_not_revoke_from_admin ) {
with updated
if ( ure_data.do_not_revoke_from_admin==1 ) {
Vladimir
KeymasterGood point. v. 4.51 does not allow to superadmin to edit ‘administrator’ role. It seems I tested JavaScript code from older version. It stopped working as expected after browser page refresh.
I will investigate what was changed and why.Vladimir
KeymasterURE does not allow revoke capabilities from administrator role in 2 cases:
1) for single site WordPress
2) for WordPress multisite when current user is not superadmin.This is done to prevent accidental lose of admin permissions.
Vladimir
Keymaster1) Users->User Role Editor->Add Role
2) Select ‘Administrator’ at ‘Make copy of’ drop-down menu
If ‘Administrator’ role is not available for selection, go to Settings->User Role Editor->General and turn ON ‘Show Administrator role at User Role Editor’ option.Or add new role even empty, then click a checkbox to the left from the “Quick filter” label. It will select all capabilities. Update Role.
24/05/2019 at 14:46 in reply to: Unrestricted access to CPT and its taxonomies, while restricting pages/posts. #5716Vladimir
KeymasterThanks for clarification. I work on the update. Beta version will be available for testing next week.
-
AuthorPosts