Document permission system.