public class CreateInProjectVoter extends AbstractBambooAclEntryVoter
If project level BambooPermission.CREATE permission is granted to the current user, this voter will vote to
allow the operation. Otherwise, it will abstain from voting.
Global BambooPermission.CREATE permission overrides project level BambooPermission.CREATE, so to
correctly check permissions, make sure GlobalCreateVoter is used subsequently.
| Constructor and Description |
|---|
CreateInProjectVoter(org.acegisecurity.acls.AclService aclService,
String processConfigAttribute) |
| Modifier and Type | Method and Description |
|---|---|
protected @Nullable Object |
getDomainObjectInstance(@NotNull Object secureObject) |
int |
vote(org.acegisecurity.Authentication authentication,
Object object,
org.acegisecurity.ConfigAttributeDefinition config)
Copied and improved voting logic from the parent class.
|
getAclService, getInnerDomainObject, getObjectIdentityRetrievalStrategy, getRequirePermission, getSidRetrievalStrategy, setObjectIdentityRetrievalStrategy, setSidRetrievalStrategy, toString, votegetInternalMethod, getProcessConfigAttribute, setInternalMethod, supportspublic CreateInProjectVoter(org.acegisecurity.acls.AclService aclService,
String processConfigAttribute)
public int vote(org.acegisecurity.Authentication authentication,
Object object,
org.acegisecurity.ConfigAttributeDefinition config)
AbstractBambooAclEntryVotervote in interface org.acegisecurity.vote.AccessDecisionVotervote in class AbstractBambooAclEntryVoterCopyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.