Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4484
    rijeka2020
    Participant

    Hello, I’m developing a WordPress site where is very important to modify standard WordPress roles list and user capabilities distribution among them. We decided to use “User Role Editor Pro” plugin for that purpose, but we ran into a problem.

    First, we created a user role “Project editor” and gave it the capability of working with one custom post type “project”.

    Next, we created another user role “Event editor” and gave it the capability of working with one custom post type “event”.

    Our final step should be restricting the user to make changes only with one specific “Project” custom post type page. We try to do this under “User Role Editor” tab where we entered specific post ID under “Post View” and “Post Edit” tab for “Project editor” role. This works fine but rest of the content is restricted too. No “Event” custom post type pages are listed for this user.

    Our question is, can we make role where the user can edit all “Event” custom post types pages but edit only one specific “Project” custom post type page?

    #4485
    Vladimir
    Keymaster

    Hi,

    This custom filter ure_restrict_edit_post_type may help. Return FALSE from it for the ‘event’ CPT to not restrict events editing.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.