14 Commits

Author SHA1 Message Date
dandds
43ea922218 Simplify environment role updates in app settings.
Use ApplicationRole.id instead of User.id in forms. This eliminates the
need for the function that checks whether a user is in a given
application, because looking up the application role will raise an error
if the user is not.
2019-05-24 13:35:00 -04:00
dandds
815632ed00 Handle setting no access for user environment roles:
- use constant for no access string
- update no access constant
- update language and permissions for rendering remove app member button
2019-05-17 14:00:45 -04:00
leigh-mil
4206aa8a59 Use member.role_name in template and JS
change name of data from roles to rolesCategory to make less confusing
2019-05-14 11:00:14 -04:00
leigh-mil
3a2e2aa878 Wip tests 2019-05-14 11:00:14 -04:00
leigh-mil
be178733cf Add note about future refactoring 2019-05-14 10:58:22 -04:00
leigh-mil
319cc17c1c Start vue component for edit-environment-role 2019-05-14 10:58:22 -04:00
George Drummond
619bc9fe59
Prettier format all js files 2019-01-24 09:38:43 -05:00
dandds
3fc323d785 project -> application everywhere 2019-01-14 16:00:17 -05:00
Patrick Smith
c7471f9e8b Use global events to revoke env access 2018-10-24 11:19:03 -04:00
richard-dds
cd9ae2c928 Allow roles to be revoked many times 2018-10-24 11:19:03 -04:00
richard-dds
94fe8b8d7f Fixes 2018-10-24 11:17:44 -04:00
richard-dds
c138df2b0f Allow user to select 'No Access' 2018-10-24 11:17:44 -04:00
richard-dds
fcd16c1b3c Display 'no access' when role is revoked 2018-10-24 11:17:44 -04:00
richard-dds
0a3c43576f EditProjectRoles component 2018-10-24 11:17:44 -04:00