Support » Plugin: Yada Wiki » How do I make user edit only wiki posts?

  • Hi.

    I’d like my users to be able to create and edit only wiki posts.

    Actually, with the default edit_post capability, they can also edit regular posts, which I don’t want.

    How to do that?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author dmccan

    (@dmccan)

    Hi Canapin,

    This plugin gives you finer grained contol over user permissions. I think you can assign permissions just for the wiki post type.

    https://wordpress.org/plugins/user-role-editor/

    I hope this helps.

    David

    I think I just missed it. Thank you very much. 🙂

    Hi again. The permissions are granted, but the profiles can’t create/edit wiki posts :

    Here’s my regular user dashboard: https://snag.gy/MzYLpD.jpg
    Here’s on a test wiki article created by the administrator: https://i.snag.gy/NpqrGo.jpg
    Here’s the user type: https://i.snag.gy/YpCid7.jpg
    Here are the permissions: https://snag.gy/8DWXSq.jpg

    Any idea?

    Plugin Author dmccan

    (@dmccan)

    Hi Canapin, I cannot access my computer to look at my test site until Wednesday. If I recall, a subscriber only has permissions to edit their profile. I think I duplicated the permissions for posts, but applied to wiki articles, and used either an author or editor role. Authors can only edit their own articles, while editors can edit other people’s. It is probably just the screen shot, but I didn’t see a create wikis permission.

    Hope this helps. If not, I’m happy to jump on it on Wednesday.

    Plugin Author dmccan

    (@dmccan)

    Hi Canapin,

    From the screenshot it looked like you had the role set as Subscriber, which only allows a user to edit their profile. Have you had any success with getting this working?

    Regards,

    David

    Hello,

    any news about roles ? I would like to create a role where people can write and edit wiki posts, but I can’t see any wiki rules, even as an editor.

    No wiki related rules screenshot.

    • This reply was modified 3 years, 6 months ago by chezjau.
    • This reply was modified 3 years, 6 months ago by chezjau.
    Plugin Author dmccan

    (@dmccan)

    Hi chezjau,

    Currently, the plugin uses the “posts” set of permissions. So if you assign a user the “author” role they will have the same permissions to wiki articles as they have to posts. Likewise for the other roles. In the user role editor you can add a new role and make a copy of an existing role.

    There are not new separate “rules” for the wiki custom post type. I’m looking to see if I can add some without breaking how it works now for other people but it does not look to be a fast thing to do.

    Regards,

    David

    Plugin Author dmccan

    (@dmccan)

    I wrote up an article about allowing site users to only edit wiki pages. Perhaps those who are interested could try out what I found on their test sites and give feedback and corrections?

    http://www.davidmccan.com/allowing-site-members-to-create-wiki-content/

    I hope this helps.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do I make user edit only wiki posts?’ is closed to new replies.