Change WordPress user roles and capabilities › Forums › How to or FAQ › using the ure_restrict_edit_post_type filter with custom taxonomy › Reply To: using the ure_restrict_edit_post_type filter with custom taxonomy
You can restrict access to the ‘document’ custom post type editing by input department taxonomy ID as a restrictions criteria for the role ‘finance’.
A purpose of this filter is to exclude posts type from edit restrictions for all users or some role as edit restrictions are applied to all post types by default. It’s not planned to apply this filter to the selected post (item inside custom post type) by some criteria. Using this filter you can allow to edit all posts for the current user or just a subset of post according to the criteria for this user and his role(s).