d8_guzzlenode_rest.permissions.yml 673 Bytes
Newer Older
1 2 3 4 5
# In my_module.permissions.yml file.
guzzlenode allow access to ext API guzzlenodes:
  title: 'GuzzleREST - General access to external guzzleAPIs'
  description: 'This is a general permission to be able to access ALL guzzlenodes/external APIs (but not use them - you will need to specify usernames/roles inside EACH guzzlenode). Note 1: this ENABLES/DISABLES everything for everyone.So, you MUST have this permission in order to do anything. Note 2: From "RESTful Web Services" you can further control access to Drupal GET,POST,PATCH REST points. The final check is done when you check if the current USERNAME is declared in the specific guzzlenode'
  restrict access: TRUE