AbstractProjectPermissionCondition
instead. Since v7.1.@PublicSpi @Deprecated public abstract class AbstractPermissionCondition extends AbstractWebCondition
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 |
---|
AbstractPermissionCondition(PermissionManager permissionManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,String> params)
Deprecated.
|
shouldDisplay, shouldDisplay
protected final PermissionManager permissionManager
protected int permission
public AbstractPermissionCondition(PermissionManager permissionManager)
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.Condition
init
in class AbstractWebCondition
com.atlassian.plugin.PluginParseException
Copyright © 2002-2019 Atlassian. All Rights Reserved.