code: function defineManyPermissions(permissionNames, validationFunction) {
        if (!angular.isArray(permissionNames)) {
          throw new TypeError('Parameter "permissionNames" name must be Array');
        }
  
        angular.forEach(permissionNames, function (permissionName) {
          definePermission(permissionName, validationFunction);
        });
      }
docs: Allows to define set of permissionNames with shared validation function on application configuration
  @methodOf permission.PermPermissionStore
  @throws {TypeError}
  
  @param permissionNames {Array<Number>} Set of permission names
  @param validationFunction {Function} Function used to validate if permission is valid