com.atlassian.jira.issue.comments
Interface CommentPermissionManager

All Known Implementing Classes:
DefaultCommentPermissionManager

public interface CommentPermissionManager

A unified way of checking whether a user can see a comment or not


Method Summary
 boolean hasBrowsePermission(Comment comment, User user)
          Return true if the user can see the comment.
 

Method Detail

hasBrowsePermission

public boolean hasBrowsePermission(Comment comment,
                                   User user)
Return true if the user can see the comment. It does not check if the user has the permission to see the issue the comment is attached to however.



Copyright © 2002-2007 Atlassian. All Rights Reserved.