Missing test: Remove and add application permission
log in as userX -> failed due to missing app perm.
Log in as admin.
assign app permission to userX
log out
log in as userX -> ok
log out
log in as admin
remove app permission from userX
log out
log in as userX -> failed due to missing app perm.