Commit graph

10077 commits

Author SHA1 Message Date
Alex Kriuchykhin
21c97027c1
Merge pull request #3691 from okriuchykhin/ok_SCI_6289
Fix user assignments migration, all assignments are automatic [SCI-6289]
2021-11-22 10:59:26 +01:00
Alex Kriuchykhin
ca5a81a85c
Add unique validation for user assignements [SCI-6279] (#3680) 2021-11-22 10:47:20 +01:00
Oleksii Kriuchykhin
e8f55cb74f Fix user assignments migration, all assignments are automatic [SCI-6289] 2021-11-22 10:45:36 +01:00
aignatov-bio
8545b5787f
Create assignment after experiment move [SCI-6285] (#3689)
Co-authored-by: Anton <anton@scinote.net>
2021-11-22 10:34:11 +01:00
artoscinote
a31bcd6eed
Fixed logging of project user role changes [SCI-6283] (#3687) 2021-11-22 09:50:14 +01:00
artoscinote
4fb9f8836d
Fix my_modules_controller typo [SCI-6278] (#3688) 2021-11-22 09:49:44 +01:00
aignatov-bio
881251fe14
Skip null subjects for activities moving [SCI-6285] (#3686)
Co-authored-by: Anton <anton@scinote.net>
2021-11-19 14:06:26 +01:00
artoscinote
774ffa60d0
Fix creating new users on projects for team admins [SCI-6273] (#3685) 2021-11-19 13:58:54 +01:00
artoscinote
9b06a24288
Added granular task permissions, permission check fixes [SCI-6278] (#3683) 2021-11-19 13:24:57 +01:00
artoscinote
2d6521db42
Fix delete connection in API [SCI-6087] (#3684) 2021-11-19 13:24:29 +01:00
artoscinote
ee8cb033fa
Fix keys in connection serializer, fix destroy method [SCI-6087] (#3677) 2021-11-18 16:10:07 +01:00
Alex Kriuchykhin
ebfd2f7924
Merge pull request #3682 from okriuchykhin/ok_SCI_6088
Add API endpoint for Cloning Experiments [SCI-6088]
2021-11-18 15:26:19 +01:00
aignatov-bio
c22ff3acc8
Fix technician role permission for results [SCI-6276] (#3681)
Co-authored-by: Anton <anton@scinote.net>
2021-11-18 15:01:29 +01:00
Alex Kriuchykhin
2104bc489a
Merge pull request #3678 from okriuchykhin/ok_SCI_6275
Fix permissions check for steps completion in the API [SCI-6275]
2021-11-18 14:11:03 +01:00
Oleksii Kriuchykhin
b35c283cc5 Fix permissions check for steps completion in the API [SCI-6275] 2021-11-17 21:25:31 +01:00
artoscinote
6b6a49428c
Add additional info to API project_user_assignments type error [SCI-6273] (#3674)
* Add additional info to API project_user_assignments type error [SCI-6273]

* Generalize user_assignments api controllers [SCI-6237]
2021-11-17 16:28:02 +01:00
aignatov-bio
2a135ac120
Fix repository archive title [SCI-6267] (#3671)
Co-authored-by: Anton <anton@scinote.net>
2021-11-17 14:53:04 +01:00
aignatov-bio
2141589797
Fix typo in assign permission modal [SCI-6274] (#3676)
Co-authored-by: Anton <anton@scinote.net>
2021-11-17 14:52:24 +01:00
aignatov-bio
57de414284
Fix user assignment for team import [SCI-6242] (#3675)
Co-authored-by: Anton <anton@scinote.net>
2021-11-17 13:33:29 +01:00
artoscinote
2e84418304
Add create/destroy endpoints to connections API, add tests [SCI-6087] (#3563) 2021-11-17 12:11:22 +01:00
aignatov-bio
4b79ba209d
Remove visibility condition from projects scope [SCI-6188] (#3667)
Co-authored-by: Anton <anton@scinote.net>
2021-11-17 10:16:54 +01:00
Alex Kriuchykhin
8609b84131
Merge pull request #3669 from okriuchykhin/ok_SCI_6270
Fix seeds to work with new UserRoles, fix Templates creation job [SCI-6270]
2021-11-17 09:59:30 +01:00
artoscinote
d08882e7f2
Style and copy fix [SCI-6272] (#3670) 2021-11-16 11:25:47 +01:00
artoscinote
0749fbdf7b
Regenerate user assignments when moving task workflow [SCI-6262] (#3668) 2021-11-16 11:10:15 +01:00
Oleksii Kriuchykhin
2e92500a73 Fix seeds to work with new UserRoles, fix Templates creation job [SCI-6270] 2021-11-15 21:36:06 +01:00
artoscinote
22623c821d
Fixed creating public projects on API, added missing translations [SCI-6167] (#3666) 2021-11-15 15:36:38 +01:00
aignatov-bio
8f9ab4f6c3
Refactor permissions breadcrumbs for users [SCI-6260] (#3665)
* Refactor permissions breadcrumbs for users [SCI-6260]

* Change creator assignments to automatically [SCI-6260]

Co-authored-by: Anton <anton@scinote.net>
2021-11-15 15:02:22 +01:00
artoscinote
6e65433c8d
Add missing translation [SCI-6248] (#3664) 2021-11-15 13:25:49 +01:00
artoscinote
945fd31538
Move modal copy and design fix [SCI-6248] (#3663) 2021-11-15 12:50:50 +01:00
artoscinote
4ce0c53d36
Implemented reset role functionality [SCI-6261] (#3662)
* Implemented reset role functionality [SCI-6261]

* Linter fixes [SCI-6261]
2021-11-15 11:12:31 +01:00
artoscinote
a6c61c2b4e
Fixed permission issues when moving experiment [SCI-6257] (#3655)
* Fixed permission issues when moving experiment [SCI-6257]

* Copy fixes [SCI-6248]

* Use canaid helper instead of permission_granted [SCI-6257]

* Fixes [SCI-6257]
2021-11-12 12:59:49 +01:00
Alex Kriuchykhin
1c3a2aa0a7
Fix permissions checks in recent work service [SCI-6253] (#3654) 2021-11-12 11:13:43 +01:00
Alex Kriuchykhin
b73cd5c31e
Allow admins to change own roles on projects [SCI-6250] (#3653) 2021-11-12 11:13:30 +01:00
artoscinote
740413fb3a
Stop role update propagation at manually assigned resources [SCI-6259] (#3659) 2021-11-12 11:12:06 +01:00
Alex Kriuchykhin
ba96bd497c
Merge pull request #3658 from okriuchykhin/ok_SCI_6254
Fix activities for assigning to experiments and tasks [SCI-6254]
2021-11-12 10:11:55 +01:00
aignatov-bio
9dc7b31cbd
Hide checkbox if user doesnt have restore permission [SCI-6258] (#3657)
Co-authored-by: Anton <anton@scinote.net>
2021-11-12 10:04:26 +01:00
Oleksii Kriuchykhin
f73f9dd2c1 Fix activities for assigning to experiments and tasks [SCI-6254] 2021-11-11 21:30:30 +01:00
aignatov-bio
50e93fed4e
Remove load from file button from bioeddie [SCI-6091] (#3656)
Co-authored-by: Anton <anton@scinote.net>
2021-11-11 14:07:27 +01:00
Alex Kriuchykhin
eb8de58c97
Allow team admins to manage users on projects [SCI-6250] (#3650) 2021-11-10 14:47:05 +01:00
artoscinote
9181be22c8
Also delete user_my_modules when deleting MyModule assignments [SCI-6252] (#3651) 2021-11-10 14:45:24 +01:00
Alex Kriuchykhin
9ad287e994
Merge pull request #3626 from artoscinote/ma_SCI_6128
Fix experiment move service [SCI-6128]
2021-11-10 12:04:49 +01:00
Martin Artnik
9e7eee5f2c Fixed to use .update! [SCI-6128] 2021-11-10 11:55:38 +01:00
Martin Artnik
68362bcb9c Fix experiment move service [SCI-6128] 2021-11-10 11:46:48 +01:00
artoscinote
9f92cfab1a
Fixed access modal styling issues [SCI-6241] (#3646)
* Fixed access modal styling issues [SCI-6241]

* Refactor user access list to use flex [SCI-6241]

* Linter fixes [SCI-6241]
2021-11-10 11:40:41 +01:00
artoscinote
0eacb91bed
Renamed 'group_user_role', fixed public project migration [SCI-6234] (#3642)
* Renamed 'group_user_role', fixed public project migration [SCI-6234]

* Moved public project update inside loop [SCI-6234]
2021-11-10 09:52:37 +01:00
aignatov-bio
dfa79c6996
Fix duplicate requests for project user manage modal [SCI-6249] (#3647)
Co-authored-by: Anton <anton@scinote.net>
2021-11-09 16:16:10 +01:00
aignatov-bio
3372b679da
Change role assigning role on object creation [SCI-6247] (#3645)
Co-authored-by: Anton <anton@scinote.net>
2021-11-09 16:10:43 +01:00
aignatov-bio
3862e780ee
Fix error on experiments page after role update [SCI-6245] (#3644)
Co-authored-by: Anton <anton@scinote.net>
2021-11-09 16:10:20 +01:00
artoscinote
083efd77fd
Generalize user role propagation job [SCI-6246] (#3649) 2021-11-09 16:09:12 +01:00
Alex Kriuchykhin
9a967cfe40
Fix user removal from the team [SCI-6201] (#3637) 2021-11-09 09:35:36 +01:00