Only save the system metadata to local and network if users only modify the system metadata rather than the data or eml
This issue has come from modifying the access rules for the entities.
After the user modify the access rules for an entity, the system metadata of the entity was modified; but the data was not. Ideally we only serialize the system metadata to the local and the dataone network but keep the data untouched.
For "save locally", it is not hard. But for "Save network", there are some issues. First the MN doesn't have the setSystemMetadata API. Second, there is a delay to get the data in CNode.
Now we just had a temporary solution - label the entity dirty even though there is only change in the system metadata. We need a better solution.
This issue also apply the the Replication Policy as well.