Events Made Easy Forums Bug fixed or feature request implemented Restrict adding of Locations to Editors only

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43930
    Anonymous
    Inactive

    Hi Franky,

    I’m trying to restrict users from adding events as too often they mess it up with an incorrect address, etc. so the map is incorrect.

    I have set the Access Rights for Permission needed to add locations as Default (Edit others posts) but this isn’t stopping them.

    I am not using the dropdown for locations and would prefer to keep it that way.

    Is there a way to stop people adding/modifying events?

    BTW – I’m using User Role Editor for the permissions.

    Thanks

    Tom

    #50213
    Franky
    Keymaster

    I’m assuming you mean “Is there a way to stop people adding/modifying locations from with the add/edit event window”?

    I’m moving this to bugs so I won’t forget it.

    Current logic: when adding/editing a location in the location window, the permissions are checked.

    But: when in the add/edit event window, you can always add a new location. It’s a small addition to the code, but will need to wait until this evening 🙂

    #50214
    Franky
    Keymaster

    I didn’t get response but anyway, try this:

    http://plugins.trac.wordpress.org/changeset/668742

    #50215
    Anonymous
    Inactive

    Sorry – yeah that’s what I meant.

    I’ll have a look at this tonight.

    Thanks

    #50216
    Franky
    Keymaster

    Ok, code adapted a bit more. It is now working as expected, see trunk version.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top