page permissions for apphooks

fixes #3134
fixes #2480