Class: Ecoportal::API::GraphQL::Model::Permissions

Inherits:
Base::Permissions show all
Defined in:
lib/ecoportal/api/graphql/model/permissions.rb

Overview

Org-level permission set (Organization.permissions). Each canXXX field is an AuthorizationResult ({ value message }); all are non-null in the schema but modelled nullable so a partial selection (fetching only some canXXX) still reads cleanly.

Constant Summary

Constants included from Common::GraphQL::Model::Diffable

Common::GraphQL::Model::Diffable::DIFF_CLASS

Method Summary

Methods included from Concerns::SnakeCamelAccess

#method_missing, #respond_to_missing?

Methods included from Common::GraphQL::Model::AsInput

#as_input, included

Methods included from Common::GraphQL::Model::Diffable

#as_update, #dirty?

Methods included from Common::GraphQL::ClassHelpers

included

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ecoportal::API::GraphQL::Concerns::SnakeCamelAccess