Add authorization callback for privileges check