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

pl.touk.nussknacker.security.Permission.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.security

import pl.touk.nussknacker.security

object Permission extends Enumeration {
  type Permission = Value
  val Read        = Value("Read")
  val Write       = Value("Write")
  val Deploy      = Value("Deploy")
  val Demo        = Value("Demo")
  val Impersonate = Value("Impersonate") // Used for migration username forwarding

  final val ALL_PERMISSIONS: Set[security.Permission.Permission] = Set(Read, Write, Deploy, Demo, Impersonate)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy