@ RequestMapping ( value = "globals" , method = RequestMethod . GET ) public Resources < GlobalPermission > getGlobalPermissions ( ) { return Resources . of ( accountService . getGlobalPermissions ( ) , uri ( on ( PermissionController . class ) . getGlobalPermissions ( ) ) ) . with ( "_globalRoles" , uri ( on ( PermissionController . class ) . getGlobalRoles ( ) ) ) ; }
List of global permissions