Commit graph

2618 commits

Author SHA1 Message Date
Martin Artnik
ff99f1df65
Merge pull request #8807 from artoscinote/ma_SCI_12271
Fix logic parenthesis in .can_manage_shared? [SCI-12271]
2025-08-18 09:46:09 +02:00
Martin Artnik
062dcdc848
Merge pull request #8806 from artoscinote/ma_SCI_12270
Add back unassignment/unlinking logic for global repositroy sharing [SCI-12270]
2025-08-18 09:45:40 +02:00
Martin Artnik
4e8622d0c8 Fix logic parenthesis in .can_manage_shared? [SCI-12271] 2025-08-18 09:44:28 +02:00
Martin Artnik
e7da50f180 Add back unassignment/unlinking logic for global repositroy sharing [SCI-12270] 2025-08-18 09:37:43 +02:00
Martin Artnik
8c4f406d8e Fix unassigning unshared repositories [SCI-12269] 2025-08-18 09:30:13 +02:00
Martin Artnik
d93749e19b
Merge pull request #8803 from aignatov-bio/ai-sci-fix-team-assignment-user-list
Fix team assignment user list
2025-08-14 16:27:28 +02:00
Anton
1b189062a6 Fix team assignment user list 2025-08-14 16:21:05 +02:00
Oleksii Kriuchykhin
24757ddc19 Fix access management for STI models [SCI-12252] 2025-08-14 14:53:04 +02:00
Martin Artnik
276eb711c4
Merge pull request #8789 from artoscinote/ma_SCI_12055
Add back unlinking and unassigning unshared repository rows [SCI-12055]
2025-08-14 09:31:08 +02:00
Martin Artnik
82964535ba Add back unlinking and unassigning unshared repository rows [SCI-12055] 2025-08-13 17:01:19 +02:00
Martin Artnik
aaf100792c Properly scope permission check to current team for user_group_assignments [SCI-12249] 2025-08-13 16:39:45 +02:00
Andrej
f44f66f52c Fix global search [SCI-12237] 2025-08-12 17:13:15 +02:00
Martin Artnik
3fb55af206 Don't revert to viewer role for roles with no read permission [SCI-12210] 2025-08-08 15:58:29 +02:00
Martin Artnik
10e831b882 Fix assignment propagation and favorite, designation clenaup [SCI-12220] 2025-08-08 12:00:39 +02:00
Alex Kriuchykhin
138045f060
Merge pull request #8750 from okriuchykhin/ok_SCI_12187_v3
Fix automatic creation of user group assignments for new objects [SCI-12187]
2025-08-06 15:43:36 +02:00
Martin Artnik
c33258d20e
Merge pull request #8751 from artoscinote/ma_SCI_12199
Fix team assignments for new protocol drafts [SCI-12199]
2025-08-06 15:42:45 +02:00
Martin Artnik
18ad2a8a93 Fix team assignments for new protocol drafts [SCI-12199] 2025-08-06 15:41:24 +02:00
Oleksii Kriuchykhin
cdabf0b199 Fix automatic creation of user group assignments for new objects [SCI-12187] 2025-08-06 15:03:58 +02:00
Martin Artnik
84b796756f Add team and user_group assignment relations [SCI-12204] 2025-08-06 15:03:03 +02:00
Martin Artnik
85d78f357a Fix protocol team assignment propagation [SCI-12199] 2025-08-05 14:28:22 +02:00
Oleksii Kriuchykhin
fa7558e2b6 Fix initial user assignments creation [SCI-12187] 2025-08-05 12:44:06 +02:00
Alex Kriuchykhin
0da823c833
Merge pull request #8733 from okriuchykhin/ok_SCI_12187
Fix user assignment creation for new objects [SCI-12187]
2025-08-01 11:58:19 +02:00
Oleksii Kriuchykhin
9c58856e1b Fix user assignment creation for new objects [SCI-12187] 2025-08-01 09:43:18 +02:00
Alex Kriuchykhin
bfbd473633
Merge pull request #8684 from okriuchykhin/ok_SCI_12111
Remove obsolete user_teams and user_projects tables and models [SCI-12111]
2025-07-31 18:28:11 +02:00
Oleksii Kriuchykhin
fd225a73ea Remove obsolete user_teams and user_projects tables and models [SCI-12111] 2025-07-31 18:12:37 +02:00
Anton
1a6cbb7c3b Fix users list in serializer [SCI-12181] 2025-07-31 14:00:25 +02:00
Oleksii Kriuchykhin
df951d176e Refactor permission checking scopes on assignable objects, improve handling of shareable objects [SCI-12158] 2025-07-28 14:50:12 +02:00
aignatov-bio
61c8435a63
Merge pull request #8714 from aignatov-bio/ai-sci-12030-add-white-list-for-appendable-repositories
Add whitelist for appendable repositories [SCI-12030]
2025-07-25 13:41:41 +02:00
Anton
835c433ef1 Add whitelist for appendable repositories [SCI-12030] 2025-07-25 13:36:08 +02:00
andrej-scinote
f114c356af
Merge pull request #8703 from andrej-scinote/aj_SCI_12162
Fix global team shared objects on permission changes [SCI-12162]
2025-07-24 14:19:49 +02:00
Martin Artnik
d90266cb74 Fix user_assignment priority in .permission_granted? [SCI-12152] 2025-07-24 13:21:23 +02:00
Andrej
ea86789f86 Fix global team shared objects on permission changes [SCI-12162] 2025-07-24 12:09:02 +02:00
aignatov-bio
50c6925f16
Merge pull request #8695 from aignatov-bio/ai-sci-12147-fix-workspace-edit
Fix workspace edit permission [SCI-12147]
2025-07-23 14:48:00 +02:00
Anton
3928303695 Fix workspace edit permission [SCI-12147] 2025-07-23 12:57:53 +02:00
Andrej
91f97f230d Fix everyone at worskpace access [SCI-12157] 2025-07-23 12:15:32 +02:00
Martin Artnik
bdbcdc37fa
Merge pull request #8689 from okriuchykhin/ok_SCI_12123
Handle project 'visibility' property for SciNote Examples project [SCI-12123]
2025-07-22 16:06:03 +02:00
Oleksii Kriuchykhin
7458e70160 Handle project 'visibility' property for SciNote Examples project [SCI-12123] 2025-07-22 11:39:48 +02:00
Martin Artnik
8d0e0aef15 Fix viewable_by_user scope [SCI-12146] 2025-07-22 10:47:23 +02:00
Martin Artnik
69c6fef2eb Repository access permission fixes [SCI-12145] 2025-07-21 15:03:55 +02:00
Martin Artnik
7200174d47 Merge branch 'develop' into features/user-groups 2025-07-18 14:49:01 +02:00
Martin Artnik
f3971e6195 Update shared object assignments when changing sharing options [SCI-12058] 2025-07-18 14:10:47 +02:00
Martin Artnik
52c72d2b20
Merge pull request #8663 from artoscinote/ma_SCI_12055
Refactor sharing logic [SCI-12055]
2025-07-18 09:55:38 +02:00
Martin Artnik
3d5a25e42c Refactor sharing logic [SCI-12055] 2025-07-17 16:34:04 +02:00
Andrej
ba2f27f4ab Fix repository templates for columns with date reminder [SCI-12141] 2025-07-17 15:33:27 +02:00
Martin Artnik
364cea84e5
Merge pull request #8674 from andrej-scinote/aj_SCI_11958
Fix permission scopes [SCI-11958]
2025-07-17 15:04:40 +02:00
Andrej
ee3573e520 Fix permission scopes [SCI-11958] 2025-07-17 14:58:11 +02:00
Andrej
f5f8a54a30 Move users logic to shareable concern [SCI-12053] 2025-07-17 14:35:56 +02:00
andrej-scinote
d5b1fc0737
Merge pull request #8651 from andrej-scinote/aj_SCI_12056
Migrate objects to the new team assignments  [SCI-12056]
2025-07-16 11:10:50 +02:00
Martin Artnik
37a7b5dd9e Fix unlink_unshared_items in repository.rb [SCI-12128] 2025-07-15 13:44:11 +02:00
Martin Artnik
65af2ee44f Fix permission_class method [SCI-11953] 2025-07-10 13:39:40 +02:00