## Roles on ui-router states.

Each state have 'roles' array property.
 
Empty 'roles' array means that access is not allowed bbDashboardAuthorisation service will try to find roles on parent state if such exists.

States not requiring authorisation can use wildcard: ['*']  

## Overriding state routes on bespoke projects.

Please use 'overrideStates' provider in order to override roles for specific states. 

## Hiding links that leads to different states

Please use combination of following directives: bbSecureRef, bbUiSref

If user is not allowed to go to given state:

- bbUiSref used on it's own will remove element it's declared on.  
- bbUiSref used inside bbSecureRef will remove element bbSecureRef is declared on. 
  
