coyote-team / coyote-wp

Wordpress Plug-in for Coyote
2 stars 2 forks source link

Do not allow roles below editor #91

Closed sinabahram closed 2 years ago

sinabahram commented 3 years ago

The plugin should not proceed if it does not receive at least an editor role for the token,. If it does, then someone fixes it by upgrading the author account to an editor, it will then appear to work, but the plugin will not go create the wordpress resource group with corresponding callback URL, leading to a bunch of orphaned resources.

jkva commented 2 years ago

The available roles available within Coyote:

editor, admin and owner are valid roles in this context.