src/permission-ui/authorization/StatePermissionMap.js
function StatePermissionMap(state) {
    var toStateObject = state.$$permissionState();
    var toStatePath = toStateObject.path;

    angular.forEach(toStatePath, function (state) {
      if (areSetStatePermissions(state)) {
        var permissionMap = new PermPermissionMap(state.data.permissions);
        this.extendPermissionMap(permissionMap);
      }
    }, this);
  }
function StatePermissionMap(state) {
    var toStateObject = state.$$permissionState();
    var toStatePath = toStateObject.path;

    angular.forEach(toStatePath, function (state) {
      if (areSetStatePermissions(state)) {
        var permissionMap = new PermPermissionMap(state.data.permissions);
        this.extendPermissionMap(permissionMap);
      }
    }, this);
  }
function StatePermissionMap ( state ) { var toStateObject = state . $$permissionState ( ) ; var toStatePath = toStateObject . path ; angular . forEach ( toStatePath , function ( state ) { if ( areSetStatePermissions ( state ) ) { var permissionMap = new PermPermissionMap ( state . data . permissions ) ; this . extendPermissionMap ( permissionMap ) ; } } , this ) ; }
Constructs map instructing authorization service how to handle authorizing
@constructor permission.ui.PermStatePermissionMap
@extends permission.PermPermissionMap
Constructs map instructing authorization service how to handle authorizing