code: function defineManyRoles(roleMap) {
      if (!angular.isObject(roleMap)) {
        throw new TypeError('Parameter "roleNames" name must be object');
      }
  
      angular.forEach(roleMap, function (validationFunction, roleName) {
        defineRole(roleName, validationFunction);
      });
    }
docs: Allows to define set of roleNames with shared validation function
  @methodOf permission.PermPermissionStore
  @throws {TypeError}
  
  @param roleMap {String, Function|Array<String>} Map of roles with matching validators