@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 AnnouncementAccessPolicy
public boolean canUpdate(io.atlassian.fugue.Option<ApplicationUser> userOption)
canUpdate
in interface AnnouncementAccessPolicy
Copyright © 2002-2024 Atlassian. All Rights Reserved.