20 Commits

Author SHA1 Message Date
dandds
0bde431a70 extend soft delete functionality to app and env roles 2019-04-15 15:58:38 -04:00
dandds
b58aef2c6b domain methods for deleting apps and environments 2019-04-15 15:58:38 -04:00
dandds
1c0c5dd9c5 soft deletes available for applications and environments
- parent relation will not include applications or environments marked
  as deleted
- domain classes will exclude deleted objects from selections
- changed some test factories to use domain_word for resource names,
  because they were using person names and it bugged me
2019-04-15 15:58:38 -04:00
dandds
4a0dd2d432 remove unused domain methods and arguments 2019-03-22 06:31:20 -04:00
dandds
d3c3209fc0 cleanup unused portfolio roles 2019-03-15 07:14:49 -04:00
dandds
d3d36822df workspace -> portfolio everywhere 2019-01-14 16:00:17 -05:00
dandds
3fc323d785 project -> application everywhere 2019-01-14 16:00:17 -05:00
Patrick Smith
28e0d423fd Create user account in CSP when adding an environment role 2019-01-08 12:19:51 -05:00
Patrick Smith
334babe5ff Hook into cloud provider when creating an env/app 2019-01-07 17:30:34 -05:00
dandds
a75c19188f display message for successfully updating environment role / access 2018-12-12 11:39:58 -05:00
richard-dds
3765a73dc1 Consolidate WorkspaceUser into WorkspaceRole 2018-11-05 14:20:07 -05:00
richard-dds
c69b7caffc Formatting 2018-10-24 11:17:44 -04:00
richard-dds
0f6fee9909 Add test for removing env role in update_environment_roles 2018-10-24 11:17:44 -04:00
richard-dds
7a23b09676 Formatting 2018-10-08 11:40:15 -04:00
richard-dds
40557a5494 Merge SuperFactories into Factories, overriding _create 2018-10-08 10:36:02 -04:00
richard-dds
9061c3515c Refactor test_update_environment_roles 2018-10-07 11:52:28 -04:00
richard-dds
e383ee533a Super factories! 2018-10-05 16:48:12 -04:00
Patrick Smith
7b2a099ef3 Filter environments for user with given project id
Previously, calling `Environment.for_user(user, project)` would return
environments a user has access to across all projects. Now, we will only
return the relevant environements. This was the cause of a visual bug
where extra environments were shown in the project list.
2018-09-30 22:06:10 -04:00
Montana
18776aa71c Fix tests 2018-09-25 11:13:24 -04:00
Montana
3a978a1673 Fix bugs and write a test 2018-09-25 11:13:24 -04:00