Layout Level Security
Transcript Summary
Introduction
Hey everybody, it's Tim from Tadabase here. Today, we're shining a spotlight on layout level security.
What is Layout Level Security?
With layout level security, we can quickly set security for all pages within a specific layout in an application. This includes both parent and child pages that are part of the same layout. For example, in this application, we have several pages within the admin layout.
Inheriting Security Settings
It's implied, based on how the app is built, that anyone who visits a page within the admin layout should be logged in with an admin role. Rather than setting security for each page individually, we can inherit these settings from the layout itself.
To do this:
- Go to the layout's security tab.
- Set the security restrictions for the layout.
- These settings will automatically apply to every page within that layout.
Additional Security Options
Each page has additional options where you can:
- Inherit security from the layout.
- Set access for any logged-in user.
- Set access for users with specific roles.
If you want to allow additional roles to view a particular page within the layout, those roles also need to be added to the layout itself.
Conclusion
Thanks for watching, and we’ll see you on the next one!
We'd love to hear your feedback.