public class

GroupShareTypePermissionChecker

extends Object
implements ShareTypePermissionChecker
java.lang.Object
   ↳ com.atlassian.jira.sharing.type.GroupShareTypePermissionChecker

Class Overview

Permissions Checker for SharedEntity objects that are shared with a group.

Summary

Public Constructors
GroupShareTypePermissionChecker(GroupManager groupManager)
Public Methods
boolean hasPermission(ApplicationUser user, SharePermission permission)
Checks to see if user is part of the group specified in the permission
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.sharing.type.ShareTypePermissionChecker

Public Constructors

public GroupShareTypePermissionChecker (GroupManager groupManager)

Public Methods

public boolean hasPermission (ApplicationUser user, SharePermission permission)

Checks to see if user is part of the group specified in the permission

Parameters
user the user to check
permission The permission containing the group
Returns
  • true if user is part of group, else false.