add getPermissionForProject method. refs client #3335