|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SprintPermissionService
Provides sprint permission checking methods Current permissions: View: see at least one issue OR allowed to see board owning the sprint Create/Edit/Delete: Project admin for all projects of issues in sprint OR project admin for all projects of the owning board
Method Summary | |
---|---|
ServiceOutcome<java.lang.Void> |
canAddRemoveIssuesToSprint(com.atlassian.crowd.embedded.api.User user,
java.util.Collection<com.atlassian.jira.issue.Issue> issues)
Can the user edit the sprint assignment for a set of issues? In order to add/remove issues from a sprint, the user must have schedule permission for all issues |
ServiceOutcome<java.lang.Void> |
canCreateSprint(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
Can the user create a sprint given the set of issues? This method checks whether the user has the PROJECT_ADMIN permission for all projects the issues are of. |
boolean |
canMostLikelyManageSprints(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> projectIds)
Can the user manage sprints of the given board? Note: The method is called that way because the value is either derived from the rapid view filter query or the passed project ids. |
ServiceOutcome<java.lang.Void> |
canUpdateSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Can the user update a sprint, that is, update, delete, etc. |
ServiceOutcome<java.util.Map<Sprint,java.lang.Boolean>> |
canUpdateSprints(com.atlassian.crowd.embedded.api.User user,
java.util.List<Sprint> sprint)
Can the user update the given sprints, that is, update, delete, etc. |
ServiceOutcome<java.lang.Boolean> |
canViewSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Can the user view a given sprint? |
Method Detail |
---|
@NotNull ServiceOutcome<java.lang.Boolean> canViewSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
ServiceOutcome<java.lang.Void> canCreateSprint(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<com.atlassian.jira.issue.Issue> issues)
@NotNull ServiceOutcome<java.lang.Void> canUpdateSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
@NotNull ServiceOutcome<java.util.Map<Sprint,java.lang.Boolean>> canUpdateSprints(com.atlassian.crowd.embedded.api.User user, java.util.List<Sprint> sprint)
@NotNull ServiceOutcome<java.lang.Void> canAddRemoveIssuesToSprint(com.atlassian.crowd.embedded.api.User user, java.util.Collection<com.atlassian.jira.issue.Issue> issues)
boolean canMostLikelyManageSprints(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.Long> projectIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |