mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-31 03:20:28 -04:00
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:
@@ -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',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user