Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Setting abilities of different user roles
this.aclService.setAbilities({
ADMIN: ['LOGIN', 'SECTION_1', 'SECTION_2', 'SECTION_3', 'ADD_USERS', 'EDIT_USERS', 'DELETE_USERS'],
EMPLOYEE: ['LOGIN', 'SECTION_1', 'SECTION_2', 'SECTION_3'],
GUEST: ['LOGIN', 'SECTION_1', 'SECTION_2']
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment