Page permission API test