Documentation ¶
Overview ¶
Package rpcacl contains helpers for checking ACLs of individual RPCs.
Index ¶
Constants ¶
View Source
const AdminGroup = "administrators"
AdminGroup is a name of a group with accounts that can use Admin API.
Variables ¶
This section is empty.
Functions ¶
func CheckAdmin ¶
CheckAdmin returns nil if the caller is an administrator.
Returns PermissionDenied gRPC error otherwise. It also logs the admin access.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.