Commit graph

7870 commits

Author SHA1 Message Date
artoscinote 9937d1d913
Add print feature to protocols [SCI-6028] (#3700)
* Add print feature to protocols [SCI-6028]

* Close tab after closing print dialog [SCI-6028]

* CSS linter fixes [SCI-6028]
2021-12-01 11:16:45 +01:00
artoscinote 16b3ee3d94
Add non-cyclical validation to connections [SCI-6287] (#3702)
* Add non-cyclical validation to connections [SCI-6287]

* Prevent theoretical infinite loop possiblity [SCI-6287]
2021-12-01 11:14:01 +01:00
Martin Artnik ce5eb68106 Fix checklist checkboxes for locked tasks [SCI-6307] 2021-11-29 12:03:01 +01:00
Oleksii Kriuchykhin db2c903e54 Improve error handling in snapshot provisioning service [SCI-6303] 2021-11-29 10:51:49 +01:00
Miha Mencin c63ae86e4b SCI-6302 change snapshot permission helper name 2021-11-24 15:21:42 +01:00
Alex Kriuchykhin 86c1d242ee
Merge pull request #3696 from aignatov-bio/ai-sci-6298-fix-moving-locked-tasks
Fix moving for a locked tasks [SCI-6298]
2021-11-24 11:10:23 +01:00
Miha Mencin aff369d852
Merge pull request #3697 from artoscinote/ma_SCI_6300
Don't include PDF files in PDF reports if no permission [SCI-6300]
2021-11-24 11:08:44 +01:00
Martin Artnik a3fa63152e Don't include PDF files in PDF reports if no permission [SCI-6300] 2021-11-24 11:01:57 +01:00
Anton 1b3307eb56 Fix moving for locked tasks [SCI-6298] 2021-11-24 10:56:25 +01:00
Miha Mencin 7b65ff44f6
Merge pull request #3695 from artoscinote/ma_SCI_6297
Add permission check for checkbox items [SCI-6297]
2021-11-24 09:38:30 +01:00
Martin Artnik a85b16ff2c Add permission check for checkbox items [SCI-6297] 2021-11-24 09:36:53 +01:00
Alex Kriuchykhin 8692d7f04b
Merge pull request #3694 from aignatov-bio/ai-sci-6291-fix-project-mobing-for-archived-and-locked-task
Fix experiment moving with archived tasks [SCI-6291]
2021-11-23 11:31:28 +01:00
Anton 774aa6cf9c Fix experiment moving with archived tasks [SCI-6291] 2021-11-23 11:25:29 +01:00
Martin Artnik 8a78b8376b Make all except public project assignments manual [SCI-6292] 2021-11-23 10:56:28 +01:00
artoscinote 5a7d285264
Fix due/start date label render [SCI-6288] (#3690) 2021-11-22 11:18:05 +01:00
aignatov-bio 06577e2f8b
Skip create assignments during team import [SCI-6280] (#3679)
Co-authored-by: Anton <anton@scinote.net>
2021-11-22 11:17:39 +01:00
Alex Kriuchykhin ca5a81a85c
Add unique validation for user assignements [SCI-6279] (#3680) 2021-11-22 10:47:20 +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
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 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 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
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
artoscinote dcdd9ece13
Fixed docx report image generation [SCI-6203] (#3639)
* Fixed docx report image generation [SCI-6203]

* Added error logging for docx image render error [SCI-6203]
2021-11-09 09:35:02 +01:00
aignatov-bio d3e178e5a2
Small CSS fixes for permissions [SCI-6207] (#3638)
Co-authored-by: Anton <anton@scinote.net>
2021-11-09 09:26:22 +01:00
Alex Kriuchykhin f11a4701d0
Merge pull request #3629 from artoscinote/ma_SCI_6193
Added optional webhook secret key [SCI-6193]
2021-11-08 21:00:40 +01:00
Alex Kriuchykhin 7d92e3c8e0
Merge pull request #3641 from artoscinote/ma_SCI_6239
Fixed removal of user from team [SCI-6239]
2021-11-08 20:56:59 +01:00
Martin Artnik 81e7b80bae Fixed removal of user from team [SCI-6239] 2021-11-08 16:06:28 +01:00
Alex Kriuchykhin 0a8af99368
Merge pull request #3627 from okriuchykhin/ok_SCI_6184
Add support of Okta SSO provider [SCI-6184]
2021-11-08 15:01:16 +01:00
artoscinote 3e3e2cc24e
Revert "Implement experiment and task access removal" [SCI-6218] (#3635)
* Revert "Implement experiment and task access removal [SCI-6156] (#3614)"

This reverts commit 2abefd78e6.

* Rename assign to module activity to designate to my module [SCI-6218]
2021-11-05 15:44:14 +01:00
aignatov-bio b0c031e4e3
Fix duplicate assignment modals (#3636)
Co-authored-by: Anton <anton@scinote.net>
2021-11-05 15:42:59 +01:00
artoscinote e3d08db6de
Fixed viewable projects scope in reports controller [SCI-6200] (#3634) 2021-11-05 14:31:05 +01:00
artoscinote ba5403ab5e
Fixed activities service for singular relations (asset/result) [SCI-6204] (#3633) 2021-11-04 14:20:51 +01:00
artoscinote 33190e4582
Fixed typo in project overview service [SCI-6199] (#3632) 2021-11-04 14:20:42 +01:00
aignatov-bio 5081e90fd6
Close access grant modal after submit [SCI-6205] (#3631)
Co-authored-by: Anton <anton@scinote.net>
2021-11-04 13:31:58 +01:00
aignatov-bio 1ef9ea2cbb
Fix roles permission and helper [SCI-6198][SCI-6181] (#3630)
Co-authored-by: Anton <anton@scinote.net>
2021-11-04 13:29:34 +01:00
Martin Artnik 3406cd9235 Added optional webhook secret key [SCI-6193] 2021-11-03 15:04:13 +01:00
Oleksii Kriuchykhin 47b8347ce6 Add support of Okta SSO provider [SCI-6184] 2021-11-02 16:19:56 +01:00
aignatov-bio 6dea5f17ff
Fix bioEddie initialization [SCI-6196] (#3624)
Co-authored-by: Anton <anton@scinote.net>
2021-11-02 10:26:01 +01:00
Oleksii Kriuchykhin a99599efea Merge branch 'features/new_permissions' into develop 2021-10-29 15:16:30 +02:00
aignatov-bio 3ec49ec1a3
Fix helpers for designated users (#3621)
Co-authored-by: Anton <anton@scinote.net>
2021-10-29 12:49:38 +02:00
artoscinote 1bb30b2c49
Also move activities when moving experiment to another project [SCI-6047] (#3535)
* Also move activities when moving experiment to another project [SCI-6047]

* Changed update to update! [SCI-6047]
2021-10-28 16:35:47 +02:00
artoscinote 2abefd78e6
Implement experiment and task access removal [SCI-6156] (#3614) 2021-10-28 16:32:05 +02:00
artoscinote 6f2d883706
Added permissions specs for API, minor changes to permissions [SCI-6152] (#3609) 2021-10-28 14:48:28 +02:00
Alex Kriuchykhin 047f47a46a
Merge pull request #3617 from aignatov-bio/ai-sci-6181-update-permissions-on-task
Small fixes on task permissions [SCI-6181]
2021-10-28 14:46:57 +02:00
Alex Kriuchykhin 17a4afc6fa
Merge pull request #3607 from okriuchykhin/ok_SCI_6142
Change the assets URL returned by API to pre-signed url [SCI-6142]
2021-10-28 14:32:47 +02:00
Alex Kriuchykhin f8e433a0ca
Merge branch 'features/new_permissions' into ok_SCI_6151 2021-10-28 14:31:47 +02:00
aignatov-bio 992d3bffa3
small permissions interface updates [SCI-6145] (#3620)
Co-authored-by: Anton <anton@scinote.net>
2021-10-28 13:58:31 +02:00
Alex Kriuchykhin 1bde37db78
Merge branch 'develop' into ok_SCI_5579 2021-10-28 13:26:27 +02:00
Oleksii Kriuchykhin b1b7dbb8ef Improve code style [SCI-6151] 2021-10-28 12:58:42 +02:00
artoscinote fc866640be
Improved/removed annoying reloads when managing user access [SCI-6170] (#3618) 2021-10-28 12:49:26 +02:00
Oleksii Kriuchykhin 2fb71aa312 Add API endpoint for Cloning Experiments [SCI-6088] 2021-10-28 12:28:46 +02:00
artoscinote 98be1ae0ff
Added link to task access to task screen [SCI-6157] (#3615) 2021-10-28 10:45:34 +02:00
aignatov-bio 9e3d64bbb6
Fix projects list in clone experiment dropdowns [SCI-6139] (#3592)
Co-authored-by: Anton <anton@scinote.net>
2021-10-27 13:55:49 +02:00
aignatov-bio 22034089a6
Update experiment move service [SCI-6149] (#3599)
* Update experiment move service [SCI-6149]

* Move permission check to helper [SCI-6149]

Co-authored-by: Anton <anton@scinote.net>
2021-10-27 13:48:52 +02:00
Anton 5d517fc2b8 Small fixes on task permissions [SCI-6181] 2021-10-27 11:41:47 +02:00
aignatov-bio d4756be38a
Fix typo on users manage list [SCI-5021] (#3613)
Co-authored-by: Anton <anton@scinote.net>
2021-10-26 16:02:24 +02:00
aignatov-bio 7d6136435d
Change my_module owner after copy [SCI-6176] (#3611)
Co-authored-by: Anton <anton@scinote.net>
2021-10-26 12:06:35 +02:00
aignatov-bio 1a05c3a40c
Update canvas task cards [SCI-5021] (#3608)
Co-authored-by: Anton <anton@scinote.net>
2021-10-26 12:06:26 +02:00
Alex Kriuchykhin f6a30cac6c
Merge pull request #3593 from okriuchykhin/ok_SCI_6134
Change Dashboard::RecentWorkService to use new user roles [SCI-6134]
2021-10-26 11:43:54 +02:00
aignatov-bio aa4b765407
Update assign/unassign rows to task [SCI-6150] (#3604)
Co-authored-by: Anton <anton@scinote.net>
2021-10-26 11:41:08 +02:00
aignatov-bio edb09dd099
Update copy experiment permission checks [SCI-6147] (#3598)
Co-authored-by: Anton <anton@scinote.net>
2021-10-26 11:40:54 +02:00
artoscinote 80b5018337
Change designated users permission check [SCI-6177] (#3610) 2021-10-26 11:29:57 +02:00