# Functions
AddToACL adds slice of Entities to the acl of Operator 'oper'.
CheckEntitiesPermissions verifies permissions for given entList with given ACL.
GetEntityPermissions returns the aggregated ACL's permissions for a given entity.
GetHashToACL converts the passed slice to a map, whose keys are the hash strings of each ACL's operator.
No description provided by the author
No description provided by the author
No description provided by the author
VerifyPermissionsRequest is a helper function which checks validity of AccessControl_PermissionsRequest.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ACCESS_CONTROL_ALL_PERMISSIONS is a bitmask for all existing permissions unfortunately, it cannot be const since it has to be 'built' by package's init to simplify future maintenance.
Enum value maps for AccessControl_Permission.
Enum value maps for AccessControl_Permission.
No description provided by the author
# Structs
Access Control Data Structures & Definitions.
"Managed/monitored" entity record.
Operator's Access Control List (map).
RPC Request/Responce used to 1) manage AND 2) check permissions 1.
No description provided by the author
RPC Request used to verify permissions for operator on a given entity.
UnimplementedAccessControlManagerServer can be embedded to have forward compatible implementations.
# Interfaces
AccessControlManagerClient is the client API for AccessControlManager service.
AccessControlManagerServer is the server API for AccessControlManager service.
# Type aliases
All permission definitions are used as bitmasks & should be 2**N.