Latest Poppulo platform GraphQL API
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.