Skip to content

Commit 3a86808

Browse files
committed
Enable the DAB feature to show create-only serializer
1 parent cc7cca3 commit 3a86808

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/aap_eda/settings/default.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,10 @@ def get_rulebook_process_log_level() -> RulebookProcessLogLevel:
511511
# Organization and object roles will come from create_initial_data
512512
ANSIBLE_BASE_ROLE_PRECREATE = {}
513513

514+
# This will make a special create-specific serializer for DAB RBAC views
515+
# also should apply to authentication and other apps, if that ever matters
516+
ANSIBLE_BASE_AUTO_CREATE_SERIALIZER = True
517+
514518
ACTIVATION_DB_HOST = settings.get(
515519
"ACTIVATION_DB_HOST", "host.containers.internal"
516520
)

0 commit comments

Comments
 (0)