• Hello,
    I have created a new user role and then I was setting up the permission and capabilities.
    I am only allowing this user to edit, delete, read his own posts only in a custom post type.
    But where there is no post by this user then all the posts are showing, no matter who is the author.
    And when I create any post using this user only then other’s posts hide from the panel.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter abhijeetbhushan

    (@abhijeetbhushan)

    Addition: – I have created custom post type using the register_post_type in fucntions.php. Could there be something related to this?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    By default WordPress shows all existing posts to a user with editing permissions.

    What version of URE (free or pro) do you use?
    If you work with Pro version it’s better to use the dedicated forum at role-editor.com or write directly to support email address.

    Thread Starter abhijeetbhushan

    (@abhijeetbhushan)

    Is it possible to give capabilities to custom field type using ACF.
    When I create any custom field then it’s capabilities is “post” and due to this when I add any extra code in functions.php to hide all the posts created by any other author then it solves the problem of showing all the posts by default to a user with editing permission but then it also hides the custom field when I try to create or edit any custom post type.

    Thread Starter abhijeetbhushan

    (@abhijeetbhushan)

    Also if I get a pro version of user role editor and allow “Force custom post type to use their own capabilities” then it will applicable for custom fields?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Is it possible to give capabilities to custom field type using ACF.

    When you add new custom field with ACF you can use “Rules” to define for which post type to show it: post or page, etc.

    Custom field itself does not have capability type as a custom post type or user permission by default.

    It’s possible to manage user access to the selected custom field using special filter described at the end of this article or or use this plugin.

    Thread Starter abhijeetbhushan

    (@abhijeetbhushan)

    Okay but the problem is still same.
    A simple question: –

    Use role editor is a plugin which can allow user role to set the permission of create post, edit post, delete post, edit other’s posts, view other’s posts, delete other’s post, etc.
    I have set the permission for a user role that the user can not edit other’s post, view other’s posts, delete other’s post and it is not working. It shows all the posts created by other users. It works only when there is any single post created by the user, only then he can see his own post only and not other’s post but when there is no post created by the user then he can see all the other post.

    I need a solution for this. It is a basic functionality of the plugin I guess and this should be working?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    I suppose you write about edit “Own data only” feature included into the Pro version. I repeated the issue, confirm the bug and start work on a fix.

    It’s better do not use this forum for questions related to Pro version. Pro version has own forum at the dedicated site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Show other posts is not working well – IMPORTANT BUG’ is closed to new replies.