Skip to content

Commit

Permalink
Add common JWT auth with permissions enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Havenstein committed Nov 11, 2024
1 parent d242250 commit d316e39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible_base/jwt_consumer/common/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,3 +342,7 @@ def process_permissions(self):
self.common_auth.process_rbac_permissions()
else:
logger.info("process_permissions was not overridden for JWTAuthentication")


class JWTAuthenticationWithPermissions(JWTAuthentication):
use_rbac_permissions = True

0 comments on commit d316e39

Please sign in to comment.