However, if you add the above filters and then log in as an "author" or "editor" user, then you'll only see the "Deploy site" and "Netlify status" buttons in the WP admin bar.
You will not see the "Webhook Deploy" menu, and also not the "Developer Settings" submenu.
The new permission hooks in v1.1 only work for the WP admin bar, not the regular menu items.
To test the hooks, you can use the example from the README.md file:
However, if you add the above filters and then log in as an "author" or "editor" user, then you'll only see the "Deploy site" and "Netlify status" buttons in the WP admin bar.
You will not see the "Webhook Deploy" menu, and also not the "Developer Settings" submenu.
This pull request fixes this issue.