Add dependency information to dynamic permissions
requested to merge issue/search_api_autocomplete-3416842:3416842-define-permission-dependencies into 8.x-1.x
Follow the example in the node module, Drupal\node\NodePermissions.
Closes #3416842