Posted2 weeks 6 days ago by Erik Wesselius (zilvervos) in Other
Recent comments
The issue with checking for updates in the BackdropCMS dashboard makes website development and maintenance more difficult. I manage more than ten websites hosted by two different providers, one...
Recently came back to see if translation issues are fixed, with the latest version:
Page translations are fixed, but the issue with taxonomy and menus are still there. Localized terms show...
Possible agenda item: For docs.borg, maybe the non-code syntax related documentation and policies should go under a new "Organization Policies" section? Not the most pressing or exciting idea...
For reference on #2, I did open an all-encompassing issue for the technical side (I haven't had time to work on it yet): https://github.com/backdrop-ops/backdropcms.org/issues/1107
As for...
Comments
Yes, the easiest way do do this would be with Layouts. You can add a "Visibility condition" to the menu block that checks a User's role.
Start on the Layouts UI at admin/structure/layouts, and click "Manage Blocks" for the default layout.
For whichever menu you'd like to hide, click on the "Configure" link at the right.
When the modal opens, csroll down to the "Visibility conditions" section at the very bottom, and pop it open. Click on "Add visibility condition"
Then select the User: role option.
Then select the user role "Authenticated" if you only want people who are logged-in to see the menu!
Note that you will need to repeat these steps for all layouts where you want the block limited by role.