java.lang.Object |
↳ |
com.atlassian.jira.plugin.webfragment.conditions.IsAdminCondition |
This class is an internal implementation detail and will change without notice.
Clients that depend on
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to
@Internal
elements).
Class Overview
Checks if this user has the global admin permission. This class does not rely on passed context as UserIsAdminCondition
does, but retrieves logged user from JiraAuthenticationContext
; This is temporary workaround to make this condition working
with dashboard-item, as currently dashboard-plugin does not pass correct context parameters. This class will be
removed once https://ecosystem.atlassian.net/browse/AG-1466 is resolved.
Public Constructors
Public Methods