aderaaij / wp-vercel-deploy-hooks

WordPress Plugin to trigger Vercel deploy hooks on command / update
GNU General Public License v3.0
71 stars 18 forks source link

add custom roles #4

Closed Morlin1129 closed 3 years ago

Morlin1129 commented 3 years ago

In the existing plugin code, only users with the "manage_options" permission can deploy sites.

By creating independent capabilities, it is possible to use plugins such as 'User Role Editor' to set deploy and setting permissions respectively.

aderaaij commented 3 years ago

I'm out of office until next week but will have a better look at it then. Looks great, thank you for the PR!

aderaaij commented 3 years ago

Works like a charm, I'm merging it in and will add credits to you for this. Thanks again!