public class

UserHasVisibleProjectsCondition

extends AbstractPermissionCondition
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
     ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractPermissionCondition
       ↳ com.atlassian.jira.plugin.webfragment.conditions.UserHasVisibleProjectsCondition

Class Overview

Checks if the user can see at least one project with this permission

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.plugin.webfragment.conditions.AbstractPermissionCondition
Public Constructors
UserHasVisibleProjectsCondition(PermissionManager permissionManager)
Public Methods
boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.webfragment.conditions.AbstractPermissionCondition
From class com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public UserHasVisibleProjectsCondition (PermissionManager permissionManager)

Public Methods

public boolean shouldDisplay (ApplicationUser user, JiraHelper jiraHelper)