Make broadcast user fixtures realistic

A broadcast service user will have the permission on creation [^1].

[^1]: b145a29935/app/dao/broadcast_service_dao.py (L69)
This commit is contained in:
Ben Thorner
2022-03-24 12:26:06 +00:00
parent d1d3a6a6c3
commit 411abb136a

View File

@@ -3604,6 +3604,7 @@ def create_active_user_create_broadcasts_permissions(with_unique_id=False):
'create_broadcasts',
'reject_broadcasts',
'cancel_broadcasts',
'view_activity', # added automatically by API
]},
auth_type='webauthn_auth',
)
@@ -3617,6 +3618,7 @@ def create_active_user_approve_broadcasts_permissions(with_unique_id=False):
'approve_broadcasts',
'reject_broadcasts',
'cancel_broadcasts',
'view_activity', # added automatically by API
]},
auth_type='webauthn_auth',
)