Test whether the current user can perform certain actions on the page.