improve the permissions-to-text snippet