mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 00:24:42 +08:00
Merge pull request #8691 from aignatov-bio/ai-sci-12153-fix-shared-inventories-label
Fix shared inventories label [SCI-12153]
This commit is contained in:
commit
9e8357d370
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ module Lists
|
|||
SELECT 1 FROM team_shared_objects
|
||||
WHERE team_shared_objects.shared_object_id = repositories.id
|
||||
AND team_shared_objects.shared_object_type = 'RepositoryBase'
|
||||
AND team_shared_objects.team_id != :team_id
|
||||
) THEN 1
|
||||
WHEN repositories.team_id != :team_id AND repositories.permission_level NOT IN (:not_shared_value)
|
||||
OR EXISTS (
|
||||
|
|
Loading…
Add table
Reference in a new issue