Unless the test returns True, the page can be accessed, otherwise,
the result of FailMsg will be sent as a response to the browser.
If the Loc cannot be accessed, it will not be displayed in menus.
test
-- the function that tests access to the page
failMsg
-- what to return the the browser (e.g., 304, etc.) if
the page is accessed.
Unless the test returns True, the page can be accessed, otherwise, the result of FailMsg will be sent as a response to the browser. If the Loc cannot be accessed, it will not be displayed in menus.
-- the function that tests access to the page
-- what to return the the browser (e.g., 304, etc.) if the page is accessed.