Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAuthzMiddleware ¶
func WithAuthzMiddleware(enforcer Enforcer, logger *log.Helper) middleware.Middleware
Check Authorization for the current API operation against the current user/token
Types ¶
type ServerOperationMap ¶
Contains a map of server operations to the ResourceAction tuples that are required to perform the operation If it contains more than one, a single match will suffice
Click to show internal directories.
Click to hide internal directories.