Skip to content

Commit d316e39

Browse files
author
Bryan Havenstein
committed
Add common JWT auth with permissions enabled
1 parent d242250 commit d316e39

File tree

1 file changed

+4
-0
lines changed
  • ansible_base/jwt_consumer/common

1 file changed

+4
-0
lines changed

ansible_base/jwt_consumer/common/auth.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,3 +342,7 @@ def process_permissions(self):
342342
self.common_auth.process_rbac_permissions()
343343
else:
344344
logger.info("process_permissions was not overridden for JWTAuthentication")
345+
346+
347+
class JWTAuthenticationWithPermissions(JWTAuthentication):
348+
use_rbac_permissions = True

0 commit comments

Comments
 (0)