Skip to main content

RBAC

cp:otoroshi.next.plugins.RBAC

This plugin check if current user/apikey/jwt token has the right role

categories:

  • AccessControl

default configuration:

{
"allow" : [ ],
"deny" : [ ],
"allow_all" : false,
"deny_all" : false,
"jwt_path" : null,
"apikey_path" : null,
"user_path" : null,
"role_prefix" : null,
"roles" : "roles"
}