WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Restricting a roles page editing/creation permissions

[Resolved] Restricting a roles page editing/creation permissions

  • 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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Jeff
    Participant

    @upekshapriya

    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.

    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

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

    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.

    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…

    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.

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Restricting a roles page editing/creation permissions’ is closed to new replies.