WordPress.org

Ready to get started?Download WordPress

Forums

Events Made Easy
[resolved] User Roles - WHAT? How to set permissions? (9 posts)

  1. keeperbay
    Member
    Posted 1 year ago #

    I want Everyone able to view the calendar - no login required.
    And Contributors on up able to Create and Edit their OWN events.

    I don't want anyone but the ADMIN able to approve events.
    I don't want Contributors able to edit other Contributors events - only their own events.

    How do I set those permissions?
    Because the User Role option make no sense.

    http://wordpress.org/extend/plugins/events-made-easy/

  2. Franky
    Member
    Plugin Author

    Posted 1 year ago #

    This is the wordpress method of doing this.
    See http://codex.wordpress.org/Roles_and_Capabilities

  3. keeperbay
    Member
    Posted 1 year ago #

    Right.....
    But how do I set this plugin up so Everyone able to view the calendar - no login required.
    And Contributors on up able to Create and Edit their OWN events.

    I don't want anyone but the ADMIN able to approve events.
    I don't want Contributors able to edit other Contributors events - only their own events.

    How do I set those permissions?
    Because the User Role option make no sense.

  4. Franky
    Member
    Plugin Author

    Posted 1 year ago #

    Did you read the link? It says for each type of roles the different kind of capabilities they have.
    By default (upon EME install) everybody can see the calendar and admin can do everything.
    Contributors have the "edit_post" capability (the subscriber role does not). So give the capability "edit_posts" to "Edit events" (which is again the default btw).
    See the "Capability vs. Role Table" on the link I mentioned.
    Also, if that's too difficult to do, you can create own capabilities and assign them to people or roles as you see fit using the plugin "User Role Editor". Then you can use your own created capabilities for access rights. This is also mentioned on the EME admin page where you change the access rights.

  5. keeperbay
    Member
    Posted 1 year ago #

    Yes, I even printed out the link. May be asking a different way.

    What is the difference between Add event & Author event?
    Nothing on that link tells me that, to me they are the same thing.

    I don't see anything in "Access rights" that reads "can only edit the events they created"

    I can set Add Event and Author Event (which I assume they both mean the same thing and can create an event) to READ and that would allow Subscribers and Contributor to create events - I'm hoping it won't allow those who aren't logged in to create events.

    But which one do I set to what so they can only edit their own events?

    The rest I'll just set to Admin status - again I'm assuming.

  6. Franky
    Member
    Plugin Author

    Posted 1 year ago #

    Please don't print, that's bad for the environment :-)
    For the "author event": it's like "author page", which means, like mentioned at http://codex.wordpress.org/Roles_and_Capabilities#Author, that you have, next to Contributor rights, also the right to publish pages. The contributor role just gives you the right to create pages.
    So to author events means the same thing: you can set the event to "published", which means people can look at it (like mentioned in the explanation for that setting: "Permission needed to make an event public.")
    You have to use the same logic as wordpress uses for pages, and apply it to events.
    If you give a person the right to create events (Add), they always have the possibility to edit their own events. However: if a person with only the add-permission edits one of his own events, the state of the event becomes "draft" again until somebody with author rights approves it again.
    The default settings for the access rights are set so that it should even work as you want it by default.

  7. keeperbay
    Member
    Posted 1 year ago #

    I think this is becoming clearer.

    So we are building a community calendar for groups in our area. The people adding to the calendar don't know each other and probably won't have any contact.

    The calendar needs to be visible to anyone who visits the website regardless if they are a registered user or logged in - anyone who just drops by should be able to view the calendar.

    If you are a user at the Contributor status you need to be able to:
    create an event,
    edit the event (both will need to be approved)
    see those who have registered for your event,
    see those who have paid for your event,
    print a list of those who have registered for your event
    Send emails to those who have registered for your event
    Only see the events you have created in your Dashboard (when you're logged in)

    So if I set: Add event & Author event to “Edit Posts “

    And the rest
    Publish event
    List events
    Edit events
    Add location
    Author location
    Edit location
    Edit categories
    View people
    Approve registrations
    Edit registrations
    Send Mails
    Send Other Mails
    Edit form fields
    Cleanup
    Edit settings

    To “Activate Plugins”, that should do it - right?

    Then only Admins will be able to do everything else - right?

  8. keeperbay
    Member
    Posted 1 year ago #

    Ok, I got it so Users can create an event, but
    * they can't load an image
    * they can see events that are not their own
    * they can see the donation thing and the "Hey, User, welcome to Events Made Easy! We hope you like it around here." stuff.

    How do I get rid of those things and make it so they can upload images?
    Help!

  9. Franky
    Member
    Plugin Author

    Posted 1 year ago #

    IF they don't have the "List events" permission, they should not be able to see events other than their own.
    The donation "thing": the admin can click it away and then it won't show for others anymore.
    Upload images: this is a standard wordpress part, so you should check if they can upload images in regular posts first, probably a permission issue on a directory.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic