Skip to content

Commit 2ddf2ee

Browse files
john-westcott-ivAlanCoding
authored andcommitted
Remove loading of RBAC application and prevent the JWT consumer from trying to process RBAC permissions
1 parent 5e67873 commit 2ddf2ee

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

ansible_ai_connect/main/settings/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
"ansible_ai_connect.healthcheck",
7878
"oauth2_provider",
7979
"import_export",
80-
"ansible_base.rbac",
8180
"ansible_base.resource_registry",
8281
"ansible_base.jwt_consumer",
8382
]

ansible_ai_connect/users/authentication.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ def authenticate(self, request):
1010
user.aap_user = True
1111
user.save()
1212
return userdata
13+
14+
def process_permissions(self):
15+
# Prevent processing of RBAC permissions
16+
pass

ansible_ai_connect/users/migrations/0017_alter_user_options_team.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ class Migration(migrations.Migration):
1212
("users", "0016_user_aap_user"),
1313
]
1414

15-
run_before = [("dab_rbac", "__first__")]
16-
1715
operations = [
1816
migrations.AlterModelOptions(
1917
name="user",

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ uwsgi==2.0.22
7171
uwsgi-readiness-check==0.2.0
7272
django-allow-cidr==0.6.0
7373
django-csp==3.7
74-
django-ansible-base[jwt-consumer,resource-registry]==2025.8.18
74+
django-ansible-base[jwt-consumer,resource-registry]==2025.9.22

0 commit comments

Comments
 (0)