Then the access to "/course/management.php" should be:

Assert who may open a page, row by row: an account of the users registry (by its handle), or "visitor" for a browser that is signed in as nobody, and what the site does with it: "allowed" (the page opens), "denied" (the site refuses it, or turns the account away) or "login" (a visitor is sent to the login form). Every row is checked, and the failure lists every row that differs.

Examples

Then the access to "/course/management.php" should be:
Then the access to "/admin/search.php" should be:
And the access to "/my/" should be:
Then the access to "/user/index.php?id=2" should be:
And the access to "/course/management.php" should be:

Pattern

Then(/^the access to "([^"]*)" should be:$/, …)

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