WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Restricting a roles page editing/creation permissions (9 posts)

  1. 8-Bit
    Member
    Posted 7 years ago #

    Ok, here's the setup. I want to a member class (role) where all members of that class can create pages in limited ammount of locations on my site. I also want it so members of this class can only edit their own creations. That way they can't go mess with someone elses pages. Much like the behavior of the lower level posts (not pages). They can view all the posts, but can only edit their own.

    I am running WP 2.0.4, I am also using the roles manager plugin.

    Is there a way to do this, especially with a plugin? If not, is there a way I can edit permissions directly in the code? Is it even possible to do this in Word Press? Thanks in advance, if you need more information don't hesitate to ask.

  2. Jeff
    Member
    Posted 7 years ago #

    If you are using the Role Manager plugin http://redalt.com/Resources/Plugins/Role+Manager then it looks like you need to give them Author status.

  3. 8-Bit
    Member
    Posted 7 years ago #

    Those permissions are close to what I need but I don't want those users to be able to do the following:

    Not allowed to:
    Write Posts (posts as in the front page posts, not pages)
    Edit Pages not created by them

    Allowed to:
    Create Pages
    Edit their own pages

  4. moshu
    Member
    Posted 7 years ago #

  5. 8-Bit
    Member
    Posted 7 years ago #

    I'm trying it out right now Moshu, lets see..

  6. 8-Bit
    Member
    Posted 7 years ago #

    Hmmm. Where do I upload this? I uploaded restrict_pages.php to the role manager plugin folder, but I can't seem to find any affect.

  7. moshu
    Member
    Posted 7 years ago #

    When I looked at it the very first line says:
    Plugin Name: Restrict Page Editing

    PLUGIN!
    I'd would put it in the plugins directory like any other plugin...

  8. 8-Bit
    Member
    Posted 7 years ago #

    Oh jeez. Thanks Moshu, I uploaded the file 3 different places but never activated the plugin. (I thought it was an addon for Role Manager). Sure enough, I goto the plugin page and there's 3 identicle plugins.

  9. 8-Bit
    Member
    Posted 7 years ago #

    Alright, thanks for the help everyone. That plugin does the trick.

    Note for people having the same problem:
    The page restriction plugin ads a new permission to all member roles, including Administrator. That means you need to go turn that permission on for any roles you want to be able to edit others pages.

Topic Closed

This topic has been closed to new replies.

About this Topic