Package com.atlassian.jira.util
Class AccessDisablingHelperConfig
java.lang.Object
com.atlassian.jira.util.AccessDisablingHelperConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A condition which has to be evaluated to true to enable access to endpoint.Jira version for which feature flag will switch from opt-in to opt-out.name of feature flag used to disabled/enable restrictionsJira version for which helper will print debug log about deprecation of feature flagGlobalPermissionKeywhich is necessary to access endpoint.booleanIf set to true blocks access for anonymous users.
-
Method Details
-
builder
- Returns:
- creates new instance of config builder
-
getFeatureFlag
name of feature flag used to disabled/enable restrictions -
getBlockAccessSince
Jira version for which feature flag will switch from opt-in to opt-out. if set to null never switch feature flag from opt-in -
getLogDeprecatedSince
Jira version for which helper will print debug log about deprecation of feature flag -
isBlockAnonymous
public boolean isBlockAnonymous()If set to true blocks access for anonymous users. If false the check is disabled -
getPermissionKey
GlobalPermissionKeywhich is necessary to access endpoint. Users without this permission don't have access to protected endpoint. if set to null then check is disabled. -
getAdditionalCondition
A condition which has to be evaluated to true to enable access to endpoint.
-