Closed patch0 closed 1 year ago
This adds in a node matcher looking for can_can_action or pundit_role to be called on an object implementing GraphQL::Types::Relay::Node. This appears to be the minimum requirement to add in pundit or cancancan auth to a GraphQL type.
GraphQL::Types::Relay::Node
closes #140
Hey hey, another rubocop offence to fix and we're good to go :)
This adds in a node matcher looking for can_can_action or pundit_role to be called on an object implementing
GraphQL::Types::Relay::Node
. This appears to be the minimum requirement to add in pundit or cancancan auth to a GraphQL type.closes #140