//--------------------------------------------------< ValidatorProvider >---
@Override @Nonnull
public Validator getRootValidator(
NodeState before, NodeState after, CommitInfo info) {
PermissionProvider pp = acConfig.getPermissionProvider(new ImmutableRoot(before), workspaceName, principals);
ImmutableTree rootBefore = new ImmutableTree(before);
ImmutableTree rootAfter = new ImmutableTree(after);
if (moveTracker.isEmpty()) {
return new PermissionValidator(rootBefore, rootAfter, pp, this);