We've seen the maker-checker concept pop-up several times in our software development experiences with banks. In this post, let me share a possible re-usable design approach. Thanks to Tin, Richie, Tina, Val, and their team, for adding their insights.
What is Maker-Checker?
According to Wikipedia:
Maker-checker (or Maker and Checker, or 4-Eyes) is one of the central principles of authorization in the Information Systems of financial organizations. The principle of maker and checker means that for each transaction, there must be at least two individuals necessary for its completion. While one individual may create a transaction, the other individual should be involved in confirmation/authorization of the same. Here the segregation of duties plays an important role. In this way, strict control is kept over system software and data keeping in mind functional division of labor between all classes of employees.
Here are some business rules we can derive from the above definition:
- For any transaction entry, there must be at least two individuals necessary for its completion.
- The one who makes the transaction entry (i.e. maker) cannot be the same one who checks (i.e. checker) it.
- A transaction entry is only considered completed if it has been checked.
Upon further clarification with the domain experts, we've learned the following:
- The checker cannot make modifications to the transaction entry. Modifications can only be done by maker.
- If the checker rejects the transaction entry, it should be returned back to maker (with possible comments or suggested changes). The maker can then resubmit changes later.
- There can be cases when the transaction entry needs another level of checking (after the first one). This would result into three individuals necessary for completion.
A typical user story for this would be something like: As a <manager>, I want to apply maker-checker policy for each <transaction> being entered, so that I can prevent fraud (or improve quality).
Possible usage scenario(s) would be something like this:
For maker:
- Maker submits a transaction to the system.
- System determines submitted transaction to be under the maker-checker policy.
- System stores submitted transaction as "for checking".
- System displays list of "for checking", "accepted", and "rejected" transactions.
For checker:
- Checker retrieves list of transactions "for checking".
- System displays list of transactions "for checking".
- Checker selects a transaction.
- System shows the transaction.
- Checker accepts the transaction.
- System records "accepted" transaction.
The alternative flow is when the checker rejects the transaction.
- Checker rejects the transaction.
- System records "rejected" transaction.
Our analysis shows that the transaction entry can have the following states:
- for checking,
- verified,
- and rejected.
In a future post, I'll share one possible design approach for maker-checker.
Hey Lorenzo, nice post. I was wondering that should there be an ageing logic or exipry on the transactions in "For Checking" state?
ReplyDeleteWhat kind of a future is that? :) It has been almost 2 years.
ReplyDeleteReally amazing and quite crisp and clear.
ReplyDeleteNice but if you give code for own maker does not able to check his own transaction....its good
ReplyDeleteA little late Prawin Reddy, but for that you can just add a maker_id column against the transaction and ensure that if the maker is logged-in and has accessed the transaction, you disable or completely hide the check button
ReplyDeleteDo checker can check while the transaction period, means when Maker is making the logs. Checker can verified at that time and correct at that time only. It reduce the time and efforts.
ReplyDeleteis it necessary that the maker cannot be from AP? AP has to be from user side - one who utilized the material or service (marketing / sales etc)
ReplyDeleteSorry, I mean Maker has to be from user side
ReplyDelete💗💗💗💗💗💗💗💗
ReplyDeleteJBL Tempo Traveller Rentals provides
Gurgaon to Nainital Tempo Traveller
Tempo Traveller Gurgaon to mussoorie
Gurgaon to Mukteshwar Tempo Traveller
Gurgaon to Kedarnath Tempo Traveller
Tempo Traveller Gurgaon to Haridwar
💗💗💗💗💗💗💗💗