Permission-Based UI Rendering
Conditionally display UI elements based on user roles and permissions.
Overview
Gauzy provides directives and guards for permission-based rendering in the Angular frontend.
NgxPermissions Directive
<!-- Show only for users with ORG_USERS_VIEW permission -->
<button *ngxPermissionsOnly="['ORG_USERS_VIEW']">View Users</button>
<!-- Hide for users without permission -->
<div *ngxPermissionsExcept="['ADMIN_EDIT_DELETE']">Read-only content</div>