Forum Replies Created
-
AuthorPosts
-
abmex
ParticipantGot it now. Thank you very much.
abmex
ParticipantJust to add to it, at the moment I use the “Admin and Site Enhancements” plugin which gives me exactly this option to restrict users to seeing their own media only.
I’m just not a fan of using a plethora of different plugins. And it seems somehow counter productive when I already have URE Pro.abmex
ParticipantThanks for the quick response.
I’ve activated the add-on, and I’ve followed the article. But this seems to cover the setting for individual users, not for the entire user role.I mean I can edit the user and keep the setting at “Look at roles”, but when I move to the role editor there is no option to restrict the role to “Own data only”.
abmex
ParticipantOh never mind, I found that I need to update the ID of the user role in the code.
Works now.
Thanks again.abmex
ParticipantThanks for trying to help, but this didn’t work.
This piece of code only removed the Capabilities field with the ‘edit capabilities” link, but the entire section “Additional capabilities” including the dropdown field “Other Roles” is still there.
https://www.dropbox.com/s/4m3dxb1yikwwvq2/Screen%20Shot%202021-09-05%20at%207.15.25%20AM.png?dl=0I only want the “Manager” role I’ve created to be able to change the user role of other users (let’s say from Subscriber to Contributor), but restrict it to a maximum of manager. I don’t want an extra field/section to assign ADDITIONAL roles or capabilities.
abmex
ParticipantOK, thanks.
I have another question.
I have 9 custom post types, let’s call them CPT1 to … CPT9.
I would like to change the capabilities for user role Author for only one of the CPT.
Let’s say I want to remove “Edit post” only for CPT4.
Now whenever I remove the checkmark next to “Edit post” of CPT4 and click on “Update”, my changes apply to ALL POSTS.How can I specify that I only want to change the CPT4 capabilities?
-
AuthorPosts