Merge branch 'standalone_develop' into pre_trustie_server

This commit is contained in:
yystopf 2024-08-13 15:48:19 +08:00
commit fd54d4d10c
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Api::V1::Users::Projects::ListService < ApplicationService
private
def project_query_data
if current_user.admin?
if current_user.admin? || @observe_user.id == current_user.id
projects = Project
else
projects = Project.visible