AbstractPermissionCondition
instead. Since v6.0. This class was previously in jira-core
but has been moved into the API (and deprecated) to protect third-party plugins that were using it. See
JRA-30983 and JRA-32058.@Deprecated @PublicSpi public abstract class AbstractJiraPermissionCondition extends AbstractJiraCondition
PermissionManager
and accept "permission"
param.
The permission param is converted using Permissions.getType(String)
and its value is set in permission
Modifier and Type | Field and Description |
---|---|
protected int |
permission
Deprecated.
|
protected PermissionManager |
permissionManager
Deprecated.
|
Constructor and Description |
---|
AbstractJiraPermissionCondition(PermissionManager permissionManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
init(Map params)
Deprecated.
|
abstract boolean |
shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper)
Deprecated.
|
shouldDisplay
protected PermissionManager permissionManager
protected int permission
public AbstractJiraPermissionCondition(PermissionManager permissionManager)
public void init(Map params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.Condition
init
in class AbstractJiraCondition
com.atlassian.plugin.PluginParseException
public abstract boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
shouldDisplay
in class AbstractJiraCondition
Copyright © 2002-2015 Atlassian. All Rights Reserved.