@Component public class AdminOnlyAccessPolicy extends Object implements AnnouncementAccessPolicy
| Constructor and Description |
|---|
AdminOnlyAccessPolicy(GlobalPermissionManager permissionManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(io.atlassian.fugue.Option<ApplicationUser> userOption) |
boolean |
canUpdate(io.atlassian.fugue.Option<ApplicationUser> userOption) |
@Inject public AdminOnlyAccessPolicy(GlobalPermissionManager permissionManager)
public boolean canRead(io.atlassian.fugue.Option<ApplicationUser> userOption)
canRead in interface AnnouncementAccessPolicypublic boolean canUpdate(io.atlassian.fugue.Option<ApplicationUser> userOption)
canUpdate in interface AnnouncementAccessPolicyCopyright © 2002-2022 Atlassian. All Rights Reserved.