Commit graph

759 commits

Author SHA1 Message Date
Oleksii Kriuchykhin a99599efea Merge branch 'features/new_permissions' into develop 2021-10-29 15:16:30 +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 1bde37db78
Merge branch 'develop' into ok_SCI_5579 2021-10-28 13:26:27 +02:00
aignatov-bio d594778fa8
Add project comment manage own permission [SCI-6115] (#3574) 2021-10-04 15:43:50 +02:00
artoscinote f68d724202
Rework experiment permissions [SCI-6054] (#3538)
* Rework experiment permissions [SCI-6054]
2021-09-30 11:32:11 +02:00
aignatov-bio c248e87adb
Add permissions checks for results controllers [SCI-6071] (#3555)
* Add permission tests for results controller [SCI-6071]

* Update results controllers with new permissions [SCI-6071]

* Small fixes to results controllers [SCI-6071]

* Update result permission helpers [SCI-6071]
2021-09-24 13:11:41 +02:00
Oleksii Kriuchykhin f806a56cac Update existing roles with new permissions/abilities [SCI-6076] 2021-09-24 10:29:24 +02:00
Oleksii Kriuchykhin 607b7f76cf Update/implement permission checks in the my_modules_controller and my_modules_status_flow_controller [SCI-6061][SCI-6063] 2021-09-24 10:23:28 +02:00
Alex Kriuchykhin 51e7f7668a
Merge pull request #3556 from okriuchykhin/ok_SCI_6062
Update/implement permission checks in the _my_modules_tags_controller [SCI-6062]
2021-09-23 17:23:22 +02:00
artoscinote e57f5f8e26
Merge pull request #3551 from aignatov-bio/ai-sci-6065-update-my-module-comments-controller-permission
Update permissions for my_module_comments controller [SCI-6065]
2021-09-23 11:47:13 +02:00
aignatov-bio 6206f8a6e9 Update permissions for my_module_comments controller [SCI-6065] 2021-09-22 12:11:36 +02:00
Oleksii Kriuchykhin 5fb163c09a Update/implement permission checks in the _my_modules_tags_ controller [SCI-6062] 2021-09-21 16:21:55 +02:00
aignatov-bio 250a018a4c Add permissions tests for my_module_repositories and my_module_repository_snapshots [SCI-6064] 2021-09-20 12:19:28 +02:00
artoscinote 895509a26c
Merge pull request #3543 from artoscinote/ma_SCI_6056
Reworked MyModule permissions [SCI-6056]
2021-09-17 15:19:01 +02:00
Martin Artnik 04413c6cc6 Make permission names consistent with spreadsheet [SCI-6056] 2021-09-17 10:41:28 +02:00
Alex Kriuchykhin 19a8faaf72
Merge pull request #3550 from okriuchykhin/ok_SCI_6058
Update/implement permission checks in the canvas controller [SCI-6058]
2021-09-16 13:32:56 +02:00
Alex Kriuchykhin 56af55931c
Merge pull request #3549 from okriuchykhin/ok_SCI_6057
Update/implement permission checks in the experiments controller [SCI-6057]
2021-09-16 13:26:33 +02:00
aignatov-bio 2240dc5984
Add new context helper to controllers tests [SCI-6072] (#3546) 2021-09-16 11:52:18 +02:00
Oleksii Kriuchykhin 61d4a96a3f Update/implement permission checks in the experiments controller [SCI-6057] 2021-09-16 09:55:59 +02:00
Oleksii Kriuchykhin 86faf96365 Update/implement permission checks in the canvas controller [SCI-6058] 2021-09-16 09:54:27 +02:00
Oleksii Kriuchykhin 0762323337 Update/implement permission checks in the project related controllers [SCI-6042] 2021-09-15 14:39:47 +02:00
aignatov-bio 97be267260 Add skip my_module flag [SCI-6072] 2021-09-14 13:30:52 +02:00
aignatov-bio a0fef97fbc Update context helper [SCI-6072] 2021-09-14 12:45:44 +02:00
Martin Artnik e8f57e9e99 Reworked MyModule permissions [SCI-6056] 2021-09-14 11:08:35 +02:00
aignatov-bio b4d0a8ff83 Add context helper for project creation [SCI-6072] 2021-09-14 10:10:14 +02:00
aignatov-bio 3036a38bfd
Fix rspec tests [SCI-6044] (#3537) 2021-09-09 15:41:42 +02:00
Martin Artnik 975a8910a8 Updated project permission helpers [SCI-6041] 2021-09-07 11:27:52 +02:00
Martin Artnik 7e6ca3be8a Merge branch 'develop' into features/new_permissions 2021-09-06 10:33:32 +02:00
Miha Mencin 50d33896e3
Merge pull request #3480 from artoscinote/ma_SCI_5963
Downcase all user emails, downcase when finding user [SCI-5963]
2021-08-30 13:00:12 +02:00
Martin Artnik 1b26a4f65a Added access token to protocols.io requests [SCI-5968] 2021-08-26 15:26:35 +02:00
Oleksii Kriuchykhin 33d37d048e Add timestamps to API serializers, allow inclusion of comments [SCI-5983] 2021-08-18 10:00:01 +02:00
Martin Artnik 5d5f406e9a Downcase all user emails, downcase when finding user [SCI-5963] 2021-08-11 13:18:58 +02:00
Martin Artnik 024f9117e6 fix failing specs 2021-08-03 14:16:22 +02:00
Martin Artnik a82af505eb Merge branch 'develop' into features/webhooks 2021-08-02 16:22:52 +02:00
Martin Artnik 67f4e81a3a Merge branch 'develop' into features/new_permissions 2021-07-28 15:16:47 +02:00
Oleksii Kriuchykhin c26dcf4b23 Replace empty? with blank? [SCI-5579] 2021-07-23 11:56:28 +02:00
Martin Artnik 662370d2bd Removed auto-disable, fixed ActiveJob + DelayedJob retry handling [SCI-5800] 2021-07-22 13:43:36 +02:00
Oleksii Kriuchykhin d1208bad0b Merge branch 'develop' into features/new_permissions 2021-07-07 13:44:36 +02:00
Martin Artnik 5f61c6568d Fix report specs [SCI-5859] 2021-07-05 12:34:39 +02:00
Martin Artnik 618f5cfb53 Code style fixes [SCI-5800] 2021-06-30 13:08:16 +02:00
Martin Artnik c6648111f3 Code style fixes [SCI-5800] 2021-06-17 22:00:13 +02:00
Martin Artnik 47071e23a1 Added specs for webhooks 2021-06-17 14:54:30 +02:00
Martin Artnik 4ee50f87d5 Implement webhook service and scheduling jobs [SCI-5801, SCI-5802] 2021-06-17 09:19:04 +02:00
Oleksii Kriuchykhin 7537542c0a Fix API date time serializers [SCI-5816] 2021-06-15 17:12:55 +02:00
zmagoD 7e4f47f667 update experiment and my_module search 2021-06-12 10:27:53 +02:00
zmagoD 8997ba10d1 mark user assigmetns when they are created manually or automatically 2021-06-12 09:36:41 +02:00
Oleksii Kriuchykhin 86fcda3c09 Fix date formatting for the API [SCI-5785] 2021-06-07 10:34:58 +02:00
zmagoD fc7214c2f7 add test scenarios for user assignments propagation jobs 2021-06-06 11:46:16 +02:00
zmagoD 784e43e328 create user_assignments for all child objects when the user is attached to the project 2021-06-06 09:54:47 +02:00