Then I should be allowed access to "/admin/content"

Assert the current session may open a path: a 2xx answer with none of the refusal markers (no 403, no login form, no "Access denied" title).

Examples

Then I should be allowed access to "/admin/content"
And I am allowed access to "/user"
Then we should be granted access to "/admin/people"
And I should be allowed "/node/add/article"
Then I am granted access to "/admin/reports/status"

Pattern

Then(/^(I |we )*(?:am|are|should be) (?:allowed access to|granted access to|allowed) "([^"]*)"$/, …)

Part of @webship-js/drupal-core-steps (github.com/webship/drupal-core-steps), a step pack for Webship-js 2.0.x.