gitlab-org--gitlab-foss/spec/graphql
Luke Duncalfe 8207f7877f GraphQL Type authorization
Enables authorizations to be defined on GraphQL Types.

    module Types
      class ProjectType < BaseObject
        authorize :read_project
      end
    end

If a field has authorizations defined on it, and the return type of the
field also has authorizations defined on it. then all of the combined
permissions in the authorizations will be checked and must pass.

Connection fields are checked by "digging" to find the type class of the
"node" field in the expected location of edges->node.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54417
2019-04-03 14:36:33 +13:00
..
features GraphQL Type authorization 2019-04-03 14:36:33 +13:00
mutations Add mutation toggling WIP state of merge requests 2018-07-25 18:37:12 +02:00
resolvers Add metadata about the GitLab server to GraphQL 2019-03-05 15:00:32 +00:00
types GraphQL Type authorization 2019-04-03 14:36:33 +13:00
gitlab_schema_spec.rb Add mutation toggling WIP state of merge requests 2018-07-25 18:37:12 +02:00