From c3727531fd679561f2f64bdf99e9b941dc4dc62f Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Tue, 15 Feb 2022 18:14:10 -0500 Subject: [PATCH] api/graph/schema.graphqls: Clarify Entity docstrings --- api/graph/schema.graphqls | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/api/graph/schema.graphqls b/api/graph/schema.graphqls index de5bbb0..e13016e 100644 --- a/api/graph/schema.graphqls +++ b/api/graph/schema.graphqls @@ -87,18 +87,10 @@ interface Entity { """ canonicalName: String! - "Returns a specific repository owned by the user." + "Returns a specific repository owned by the entity." repository(name: String!): Repository @access(scope: REPOSITORIES, kind: RO) - """ - Returns repositories that the user has access to. - - NOTE: in this version of the API, only repositories owned by the - authenticated user are returned, but in the future the default behavior - will be to return all repositories that the user either (1) has been given - explicit access to via ACLs or (2) has implicit access to either by - ownership or group membership. - """ + "Returns a list of repositories owned by the entity." repositories(cursor: Cursor, filter: Filter): RepositoryCursor! @access(scope: REPOSITORIES, kind: RO) } -- 2.38.4