- replace properties
authenticated
with the checker functionisAuthenticated()
- replace property
roles
with the checker functionhasRole(role: string)
- replace property
groups
with the checker functionisMemberOf(group: string)
- replace property
permissions
with the checker functionhasPermission(perm: string, resource?: any)
- rename property
authenticated
toisAuthenticated
- rename property
roles
tohasAllRoles
- rename property
groups
toisMemberOfAll
- rename property
permissions
tohasAllPermissions