From 953f2a22452599a3c457b412ff00b3617f2d1ef3 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Wed, 30 Mar 2016 10:57:03 +0100 Subject: [PATCH] Add comment to describe view_activity --- app/main/views/manage_users.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main/views/manage_users.py b/app/main/views/manage_users.py index 4e60918f1..4af565d2f 100644 --- a/app/main/views/manage_users.py +++ b/app/main/views/manage_users.py @@ -57,7 +57,9 @@ def invite_user(service_id): if form.validate_on_submit(): email_address = form.email_address.data - # view_activity is a default role to be added to all users. All users will have at minimum view_activity + # view_activity is a default role to be added to all users. + # All users will have at minimum view_activity to allow users to see notifications, + # templates, team members but no update privileges permissions = ','.join(role for role in roles.keys() if request.form.get(role) == 'y').join('view_activity') invited_user = invite_api_client.create_invite( current_user.id,