Add Ability to Limit Submissions to Users with Specific Roles
Requested Feature:
Build in a security option to restrict access to members of a certain role or roles.
Challenge:
Currently Community Events has two options to control what site users can submit events for inclusion on the calendar. Allow all registered users to submit events or allow anonymous user submissions.
Scenario:
Our organization has leadership positions that are voted upon by the membership. These elections are annual and therefore, the positions turn over regularly. For the benefit of these elected users, most of which who know nothing about WordPress, we need a clean and simple to use “form” that allows them to manipulate the calendar from the front end. Simultaneously however, we use this site for our regular members to register, pay their dues, etc., therefore, pretty much all members will be registered users. We have a need to restrict access to the ability to submit and edit events to just the elected officers.
Roles vs Capabilities:
This is for simplification of management. WordPress already has roles built-in and many plugins, such as Community Events, already have the means (or option) to hide the Admin dashboard and menu from users assigned these roles.
Now let’s take that a step further. If Community Events had the ability to restrict access to roles, and that was combined with another product such as a role editor or membership plugin that could create new roles or edit existing roles, we could easily accomplish our task.
