GraphQL API

GraphQL API

Latest Poppulo platform GraphQL API

hasEnterprisePermissions 

The directive takes in an array of 'permissions' as an argument and compares it with the permissions for the enterprise in the user's jwt. If the user has at least one permission matching the supplied argument, then the field is resolved otherwise a forbidden error is thrown.

Arguments

  • permissions
    List

    String
    Required