Create block status card on customer page Update users package Add isBlocked to user details type in graphql Add isBlocked to customer query in frontend Create card to display user status
Create mutation to block the user Use blockUser exposed in the user package (instantiated insider the user provider) Create auditLog for the customer blocking Create new audit action block-user Example of audit log
Check if the agent has permission to block TBD: which permission is neededCreate block customer permission Permission: “RBI.supportActions.customer.block” Add “RBI.supportActions.customer.*” to rolePermissionMapping in agent role for BK,PLK,TH and FHS
Implement block user in front end Create confirmation modal Check if agent has permission to change customer status TBD: which permission is needed
Trigger block mutation on confirmation
Create mutation to unblock the user Use unblockUser exposed in the user package (instantiated insider the user provider) Create auditLog for the customer unblocking Create new audit action unblock-user Example of audit log
Check if the agent has permission to unblock TBD: which permission is neededPermission: “RBI.supportActions.customer.block”
Implement unblock user in front end Create confirmation modal Check if agent has permission to change customer status TBD: which permission is needed
Trigger unblock mutation on confirmation
|