Add granting and revoking of permissions.