Come up with mechanism for enforcing integrity protection usage #52
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We have implemented mechanism, to sign stored data in database with root key.
However, we currently have no way of enforcing usage of them.
It's very easy to forget:
Therefore, to close this ticket, abstraction enforcing previously stated preconditions / invariants should be implemented.
I envision it as some generic
IntegrityEnvelope<T>, that has methods to lookup by id (or some other identifier), create new signature, delete existing or update.Keep in mind that it should be flexible enough to support
1-to-1,M-to-1,M-to-Mtype of relationships on query level.This is because some business objects are made of multiple rows in different tables. Take grants, for example.