Package uk.gov.gchq.gaffer.access
Interface AccessControlledResource
-
- All Known Implementing Classes:
FederatedAccess
,GraphAccess
,NamedOperationDetail
,NamedViewDetail
public interface AccessControlledResource
-
-
Field Summary
Fields Modifier and Type Field Description static String
DONT_CHECK_ADMIN_AUTH
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourceType
getResourceType()
default boolean
hasReadAccess(User user)
boolean
hasReadAccess(User user, String adminAuth)
default boolean
hasWriteAccess(User user)
boolean
hasWriteAccess(User user, String adminAuth)
-
-
-
Field Detail
-
DONT_CHECK_ADMIN_AUTH
static final String DONT_CHECK_ADMIN_AUTH
-
-
Method Detail
-
getResourceType
ResourceType getResourceType()
-
hasReadAccess
default boolean hasReadAccess(User user)
-
hasWriteAccess
default boolean hasWriteAccess(User user)
-
-