You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AND (NOT p.private OR (#{mayCaller} IS NOT NULL AND EXISTS (SELECT FROM accessible_private_projects pp WHERE pp.user_id = #{mayCaller} AND pp.project_id = p.id)))
293
+
294
+
AND user_has_project_permission(#{mayCaller}, p.id, #{ProjectView})
AND (NOT p.private OR (#{mayCaller} IS NOT NULL AND EXISTS (SELECT FROM accessible_private_projects pp WHERE pp.user_id = #{mayCaller} AND pp.project_id = p.id)))
364
+
AND user_has_project_permission(#{mayCaller}, p.id, #{ProjectView})
363
365
AND (#{preferredArity} IS NULL OR doc.arity >= #{preferredArity})
-- We may wish to adjust the similarity threshold before the query.
399
401
#{query} <% doc.name
400
-
AND (NOT p.private OR (#{mayCaller} IS NOT NULL AND EXISTS (SELECT FROM accessible_private_projects pp WHERE pp.user_id = #{mayCaller} AND pp.project_id = p.id)))
402
+
AND user_has_project_permission(#{mayCaller}, p.id, #{ProjectView})
0 commit comments