Open a page of the site and assert that the site refuses it to the account logged in (403 Forbidden, "Tsk tsk. Apparently you don't have access to this area."), or, to a visitor, sends the browser to the login page.
Examples
Then I should not be allowed to open "/s/campaigns"
Then we should not be allowed to open "/s/users"
And I should not be allowed to open "/s/config/edit"
Then I should not be allowed to open "/s/emails/new"
Then I should not be allowed to open "/s/contacts"
Pattern
Then(/^(I |we )*should not be allowed to open "([^"]*)"$/, …)
Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.