All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.molgenis.data.security.PackagePermission Maven / Gradle / Ivy

There is a newer version: 8.4.5
Show newest version
package org.molgenis.data.security;

import org.molgenis.security.core.Permission;

public enum PackagePermission implements Permission {
  // @formatter:off
  ADD_ENTITY_TYPE("Permission to add a child entity type to this package"),
  ADD_PACKAGE("Permission to add a child package to this package"),
  UPDATE("Permission to update this package"),
  VIEW("Permission to view this package");
  // @formatter:on

  private final String defaultDescription;

  PackagePermission(String defaultDescription) {
    this.defaultDescription = defaultDescription;
  }

  @Override
  public String getDefaultDescription() {
    return defaultDescription;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy