nebular disabled option code example
Example: nebular menu item disabled
// hide menu when user doesn't have the role and permissions.
if (prepared.roles && prepared.roles.length > 0) {
const role = this.authService.getUser().role;
if (prepared.roles.indexOf(role) === -1) {
prepared.hidden = true;
}
}