Do not modify AlteredPermissions when they are not set. This hopefully prevents N2 from saving items that were fetched but not modified. Especially in the case of lazy loaded collections (like Children), this should improve performance, because N2 tends to implicitly load these nodes. All these implicitly loaded collections would be saved on a closing transaction because the AlteredPermissions were suddenly set.
Do not modify AlteredPermissions when they are not set. This hopefully prevents N2 from saving items that were fetched but not modified. Especially in the case of lazy loaded collections (like Children), this should improve performance, because N2 tends to implicitly load these nodes. All these implicitly loaded collections would be saved on a closing transaction because the AlteredPermissions were suddenly set.

EzyWebwerkstaden/n2cms,EzyWebwerkstaden/n2cms,bussemac/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,n2cms/n2cms,SntsDev/n2cms,SntsDev/n2cms,DejanMilicic/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,bussemac/n2cms,nicklv/n2cms,nicklv/n2cms,bussemac/n2cms,SntsDev/n2cms,n2cms/n2cms,DejanMilicic/n2cms,VoidPointerAB/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,nicklv/n2cms,n2cms/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,bussemac/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,nimore/n2cms,VoidPointerAB/n2cms,nimore/n2cms,DejanMilicic/n2cms,nicklv/n2cms,DejanMilicic/n2cms