Enum Class ConfigurationItemAccessLevel

java.lang.Object
java.lang.Enum<ConfigurationItemAccessLevel>
com.atlassian.jira.config.managedconfiguration.ConfigurationItemAccessLevel
All Implemented Interfaces:
Serializable, Comparable<ConfigurationItemAccessLevel>, Constable

@PublicApi public enum ConfigurationItemAccessLevel extends Enum<ConfigurationItemAccessLevel>
These values define the different access levels that exist for altering a ManagedConfigurationItem.

Note: this setting does not affect configuration changes made at the API level. It only determines the visibility/access of configuration options within JIRA's administration interface.

Since:
v5.2
See Also:
  • ManagedConfigurationItem
  • ManagedConfigurationItemService#doesUserHavePermission(com.atlassian.crowd.embedded.api.User, ManagedConfigurationItem)
  • Enum Constant Details

    • LOCKED

      public static final ConfigurationItemAccessLevel LOCKED
      No user is permitted to alter the item's configuration from the JIRA administration interface.
    • SYS_ADMIN

      public static final ConfigurationItemAccessLevel SYS_ADMIN
      Only system administrators are permitted to alter the item's configuration from the JIRA administration interface.
    • ADMIN

      public static final ConfigurationItemAccessLevel ADMIN
      Administrators or system administrators are permitted to alter the item's configuration from the JIRA administration interface. However they will be shown a message saying that the item is "managed".
  • Method Details

    • values

      public static ConfigurationItemAccessLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ConfigurationItemAccessLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null