Documentation ¶
Overview ¶
Package accessd provides a thin client for access management service.
Index ¶
- Constants
- func CheckPermissions(operator *protos.Identity, ents ...*accessprotos.AccessControl_Entity) error
- func CheckReadPermission(operator *protos.Identity, ents ...*protos.Identity) error
- func CheckWritePermission(operator *protos.Identity, ents ...*protos.Identity) error
- func DeleteOperator(operator *protos.Identity) error
- func GetOperatorACL(operator *protos.Identity) (map[string]*accessprotos.AccessControl_Entity, error)
- func GetOperatorsACLs(operators []*protos.Identity) ([]*accessprotos.AccessControl_List, error)
- func GetPermissions(operator *protos.Identity, entity *protos.Identity) (accessprotos.AccessControl_Permission, error)
- func ListOperators() ([]*protos.Identity, error)
- func SetOperator(operator *protos.Identity, entities []*accessprotos.AccessControl_Entity) error
- func UpdateOperator(operator *protos.Identity, entities []*accessprotos.AccessControl_Entity) error
Constants ¶
const ServiceName = "ACCESSD"
Variables ¶
This section is empty.
Functions ¶
func CheckPermissions ¶
func CheckPermissions(operator *protos.Identity, ents ...*accessprotos.AccessControl_Entity) error
func CheckReadPermission ¶
Verifies operator's read permission for given entity and returns error if either request fails or the permissions are not granted
func CheckWritePermission ¶
Verifies operator's write permission for given entity and returns error if either request fails or the permissions are not granted
func DeleteOperator ¶
Removes all operator's permissions (the entire operator's ACL)
func GetOperatorACL ¶
func GetOperatorACL( operator *protos.Identity, ) (map[string]*accessprotos.AccessControl_Entity, error)
GetOperatorACL returns the operator's Identity's permission list
func GetOperatorsACLs ¶
func GetOperatorsACLs(operators []*protos.Identity) ([]*accessprotos.AccessControl_List, error)
GetOperatorsACLs returns the operators' Identities permission lists
func GetPermissions ¶
func GetPermissions( operator *protos.Identity, entity *protos.Identity, ) (accessprotos.AccessControl_Permission, error)
Returns the operator's permission bitmask for given entity
func ListOperators ¶
List all Operator Identities in accessd database
func SetOperator ¶
func SetOperator(operator *protos.Identity, entities []*accessprotos.AccessControl_Entity) error
SetOperator overwrites Permissions to operator Identity to manage/monitor entities
func UpdateOperator ¶
func UpdateOperator(operator *protos.Identity, entities []*accessprotos.AccessControl_Entity) error
UpdateOperator adds Permissions to operator Identity to manage/monitor entities
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Access Control Manager is a service which stores, manages and verifies operator Identity objects and their rights to access (read/write) Entities.
|
Access Control Manager is a service which stores, manages and verifies operator Identity objects and their rights to access (read/write) Entities. |
access_helper provides ToString() receiver for AccessControl_Permission mask
|
access_helper provides ToString() receiver for AccessControl_Permission mask |
Accessd service provides the gRPC interface for cloud services & REST server to check & manage Identity access permissions.
|
Accessd service provides the gRPC interface for cloud services & REST server to check & manage Identity access permissions. |