ndiego / block-visibility

Conditional visibility controls for all WordPress blocks.
https://www.blockvisibilitywp.com
GNU General Public License v2.0
129 stars 10 forks source link

Add support for user permissions based on non-standard roles #106

Open ndiego opened 3 months ago

ndiego commented 3 months ago

Ported over from the WordPress.org support forum:

In Admin Panel > General Settings > User Permissions, checkboxes appear to be hardcoded to Default WordPress Role names only (Editor, Author, Contributor) if I choose to limit ability to set/change Block Visibility settings for a particular Block/page/etc.

It does not reflect any friendly names I might’ve set to those default role slugs (administrator => Friendly Name “_Administrator (default-DoNotUse)”), nor does it reflect any new roles that I might’ve created:

administrator-pages => Administrator-Pages editor-templates => Editor-Templates

Can I make a feature request that this section of Admin Panel reads/populates from actual current list of Roles?