Browse Source

Merge branch 'pre_trustie_server' into trustie_server

pull/345/head
yystopf 1 year ago
parent
commit
233642d903
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/api/v1/users/projects/list_service.rb

+ 1
- 1
app/services/api/v1/users/projects/list_service.rb 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


Loading…
Cancel
Save