fix grantPermissionsLPw in gb