Then I should have access to "admin/content"

Assert the account of the session has (or does not have) access to a path: the path is asked for with the cookies of the browser and must not (or must) answer "Access denied" (HTTP 403). The current page stays where it is.

Examples

Then I should have access to "admin/content"
Then I should not have access to "admin/structure/layouts"
And I should not have access to "admin/people"
Then we should have access to "node/add/post"
And should not have access to "admin/config"

Pattern

Then(/^(I |we )*should( not)* have access to "([^"]*)"$/, …)

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