Documentation
¶
Index ¶
- func AddUser(ctx context.Context, userID string, roles []string) error
- func DeleteUser(ctx context.Context, userID string) error
- func GetAuthorizedRoutes() ([]string, error)
- func GetPermissionsForUser(ctx context.Context, userID string) ([][]string, error)
- func UseAuthEnforcer(ctx context.Context, instance *echo.Echo)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUser ¶
DeleteUser deletes a role for a user in the acl policy
func GetAuthorizedRoutes ¶
GetAuthorizedRoutes gets all the authorized routes
func GetPermissionsForUser ¶
GetPermissionsForUser gets all the permissions for a user
Types ¶
Click to show internal directories.
Click to hide internal directories.