mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 23:25:31 +08:00
Fix shared inventories label [SCI-12153]
This commit is contained in:
parent
1419ec1d98
commit
03a58c7c81
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