New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add custom capabilities #267

kevinwhoffman opened this Issue Oct 2, 2018 · 0 comments


None yet
2 participants

kevinwhoffman commented Oct 2, 2018

Feature Request

User Story

As a developer, I want to allow certain functionality based on custom capabilities so that access to the plugin is not limited by generic WordPress roles.

Possible Solution

Discuss with @mathetos the best course of action based on his experience with custom capabilities on the Give website.

I don't think it makes sense to create custom roles for a plugin like WPBR, but we could create custom capabilities and assign them to existing WordPress roles like Admin, Editor, etc.

Those capabilities could then be assigned to any role using a plugin like User Role Editor or through filters.

Acceptance Criteria

  • Admins can access all WPBR screens by default.
  • Editors can access all WPBR screens except for Settings by default.
  • Authors can only add Single Reviews by default.
  • Access for all of the above is based on custom capability, not user role.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment