Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizator ¶
type Authorizator struct {
// contains filtered or unexported fields
}
func New ¶
func New(permissions []entities.Permission, tenant string, logger log.Logger) *Authorizator
func (*Authorizator) CheckAccess ¶
func (author *Authorizator) CheckAccess(allowedTenants []string) error
func (*Authorizator) CheckPermission ¶
func (author *Authorizator) CheckPermission(ops ...*entities.Operation) error
Click to show internal directories.
Click to hide internal directories.