Make sure the “Regular Editor” does not have the “manage_others_posts, manage_others_pages” capabilities.
Also make sure you have set the correct author for the page.
Hi @pinchof
Have you changed the User Role settings with enabled access to wp-admin?
Please go to WP Admin > Ultimate Member > User Roles > Edit a Role > See Administrative Permissions.
Regards,
Hi, ShabbaJ and Champ Camba. Thank you for your answers.
“Regular Editor” have the “manage_others_posts, manage_others_pages” capabilities, because they need to act as editors for pages and post created by other users, except those which are restricted only for SuperEditor.
And they also have access to wp-admin because they need to view the list of pages and post in order to edit them, except those which are restricted only for SuperEditor.
Thanks again.
Best regards.
David.
Hi @pinchof
Did you try enabling the content restriction for post/pages?
Please go to WP Admin > Ultimate Member > Access > Restriction Content?
Regards,
I @champsupertramp, I did, indeed they don’t have access to the pages and posts in read mode (https://somsite/restrictedpage/).
Thank you for your time.
Best regards.
David.
Hi @pinchof
Thanks for letting us know. I am closing this thread now.
Regards,
Hello @champsupertramp. Maybe I didn’t explain myself clear enough, but the problem persists.
When I log in with a regular Editor I can not see that page (https://somsite/restrictedpage/), but I’m still able to edit it (https://somsite/wp-admin/post.php?post=99&action=edit).
Please, don’t close the thread.
Thank you.
Best regards.
David.
Hi @pinchof
How many roles are assigned to your test account? If the account has more than 1 role, you will need to add a Priority number in the role settings to make it a Primary role of the user account.
Regards,
Hi @champsupertramp, only one role per user.
Thank you.
Best regards.
David.
Hi @pinchof
Sorry for the late response. Have you tried @shabbaj suggestions?
Regards,
Hi, @champsupertramp
The @shabbaj suggestion is not valid in this scenario.
“Regular Editor” have the “manage_others_posts, manage_others_pages” capabilities, because they need to act as editors for pages and post created by other users, except those which are restricted only for SuperEditor.
Thank you.
David.
Hi @pinchof
How many roles are assigned to the Regular Editor? Regular Editor should be restricted from accessing the WP Admin when you set it in the Administrative Permission of the role. But if you allow them to access the /wp-admin/, you need to customize the redirection to prevent Regular Editor to access the Edit page.
Regards,
Hi @champsupertramp , only one role is assigned to Regular Editor.
wp-admin access is allowed because they need to view the list of pages and posts in order to edit them, except those which are restricted only for SuperEditor.
Please, can you be a little more specific? what do you mean with customize the redirection? Is it an option of the plugin?
Thank you.
David.