V4 - Unit Testing

Thanks for the code snippet for the getFullAPIToken(), it’s really helpful for API token related tests.

Curious on how I can add specific permissions to my API token, let’s say only add api::restaurant.restaurant.find if type of my API token is custom (if there’s such value).

1 Like