✨(backend) expose is_active field for Application in Django admin
Add minimal admin support to allow administrators to mark an application account as inactive if it becomes rogue or compromised. This capability was missing when the application concept was initially introduced in the backend.
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@ and this project adheres to
|
||||
- ✨(helm) support celery with our Django backend #1124
|
||||
- ✨(helm) support ingress for custom background image #1124
|
||||
- ✨(backend) add authenticated user rate throttling on request-entry #1129
|
||||
- ✨(backend) expose `is_active` field for Application in Django admin #1133
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -23,7 +24,7 @@ and this project adheres to
|
||||
- ♿(frontend) improve ui and aria labels for help article links #1108
|
||||
- 🌐(frontend) improve German translation #1125
|
||||
- 🔨(python-env) migrate meet main app to UV #1120
|
||||
- ♻️(backend) align Application model field with `is_active` convention
|
||||
- ♻️(backend) align Application model field with `is_active` convention #1133
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -308,7 +308,7 @@ class ApplicationAdmin(admin.ModelAdmin):
|
||||
|
||||
form = ApplicationAdminForm
|
||||
|
||||
list_display = ("id", "name", "client_id", "get_scopes_display")
|
||||
list_display = ("id", "name", "client_id", "get_scopes_display", "is_active")
|
||||
fields = [
|
||||
"name",
|
||||
"id",
|
||||
@@ -317,6 +317,7 @@ class ApplicationAdmin(admin.ModelAdmin):
|
||||
"scopes",
|
||||
"client_id",
|
||||
"client_secret",
|
||||
"is_active",
|
||||
]
|
||||
readonly_fields = ["id", "created_at", "updated_at"]
|
||||
inlines = [ApplicationDomainInline]
|
||||
|
||||
Reference in New Issue
Block a user