Sparkly feathers
Reworked Twigs security!
Breaking changes:
- renamed Permissions to Authorizer (and PermissionsProvider to AuthorizerProvider accordingly) (http://hatchteam.github.io/twigs/docs/#/api/twigs.security.service:Authorizer)
- Authorizer api now streamlined: all methods are asynchronous and return promises
- hasRoles() and isAuthenticated() removed --> see hasPermission() and isLoggedIn()
- Adapted and refactored Menu and Menu Directive (http://hatchteam.github.io/twigs/docs/#/api/twigs.menu.directive:twgMenu)
- Adjusted and simplified Protected routes http://hatchteam.github.io/twigs/docs/#/api/twigs.protectedRoutes.provider:ProtectedRouteProvider
Fixes:
- twgMenu Directive has its own scope (@michaelschnyder)