mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Update invited user to have the view_activity permission.
Update dashboard.html for view_activity
This commit is contained in:
@@ -66,7 +66,7 @@ def invite_user(service_id):
|
||||
email_address,
|
||||
','.join(
|
||||
role for role in roles.keys() if request.form.get(role) == 'y'
|
||||
)
|
||||
).join('view_activity')
|
||||
)
|
||||
|
||||
flash('Invite sent to {}'.format(invited_user.email_address), 'default_with_tick')
|
||||
|
||||
Reference in New Issue
Block a user