code: function authorizeByStateName(stateName) {
      var srefState = $state.get(stateName);
      var permissionMap = new PermStatePermissionMap(srefState);
  
      return authorizeByPermissionMap(permissionMap);
    }
docs: Authorizes uses by provided state name
  @methodOf permission.ui.PermStateAuthorization
  
  @param stateName {String}
  @returns {promise}