Update invited user to have the view_activity permission.

Update dashboard.html for view_activity
This commit is contained in:
Rebecca Law
2016-03-29 15:20:43 +01:00
parent b79901fe28
commit 01959b8576
2 changed files with 4 additions and 2 deletions

View File

@@ -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')