• Resolved gdakuzaku

    (@gdakuzaku)


    Hello,

    Whats the capabilities I need set in role to edit posts from another users?
    I need shared Yada Wiki in my client and I need create another role to apply a new users.

    Thanks,
    Guilherme Dakuzaku

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gdakuzaku

    (@gdakuzaku)

    Solved.

    The capability to edit anothers “posts” in yada wiki is “Edit published pages”.

    thanks.
    Guilherme Dakuzaku

    Plugin Author dmccan

    (@dmccan)

    Hi Guilherme,

    I installed the plugin User Role Editor:
    https://ww.wp.xz.cn/plugins/user-role-editor/

    I created a role of ‘Wiki Editor’ to experiment. Giving the user the role ‘edit_published_pages’ didn’t work for me.

    In the plugin file ‘register-wiki-cpt.php’ the capability_type is ‘post’. Yada Wiki doesn’t create or assign any roles, just uses the built-in WordPress permissions based on ‘posts’.

    If you give your new role ‘edit_posts’, ‘edit_others_posts’ and ‘edit_published_posts’ then users should be able to edit wiki pages. That is what worked for me.

    ‘edit_posts’ lets them create their own posts.

    ‘edit_others_posts’ lets them edit other people’s posts that are not yet published.

    ‘edit_published_posts’ will let them edit other people’s posts that have been published.

    I hope this helps.

    Best regards,

    David

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Capabilities to edit posts from another users’ is closed to new replies.