Add Permission.grant(privilege_set, config).
Add some documenting comments.