I have no access

In the DB I have HAPItest_test1 9, HAPItest_test2 8

9 is admin, lower numbers are less permission.

In the chart below, higher numbers mean the task is more sensitive. So logging in to a page that requires 8 when you have 9 will work, while logging in to a page with that requires 9 when you have 8 will fail.

Each test should be done three times, once not logged in, once upon loggin in, and once when already logged in.

HAPItest_test1: I have admin access, so all tests should work after login.
HAPItest_test1 9, hard
HAPItest_test1 9, soft
HAPItest_test1 8, hard
HAPItest_test1 8, soft

HAPItest_test2
HAPItest_test2 9, hard - should force login, then give no access message.
HAPItest_test2 9, soft - no fail, but no access
HAPItest_test2 8, hard - force login, then give access.
HAPItest_test2 8, soft - no fail, but no access unless logged in.

HAPItest_test3 There is no such thing.
HAPItest_test3 9, hard - should force login, then no access.
HAPItest_test3 9, soft - no fail, but no access.
HAPItest_test3 8, hard - should force login, then no access.
HAPItest_test3 8, soft - no fail, but no access.


logout.
login.