User Action Authorization Process

User action authorization process

Flowable Flowable
PostgreSQL PostgreSQL

About the project

The project focused on designing and implementing a universal process that ensures authorization of user actions in internal company systems. The process was not intended for direct execution by a user but functioned as a standalone module (subprocess) that could be inserted into any more complex workflow whenever a decision was needed regarding the authorization of a specific action.

At the input, the process received information about the employee and the action to be performed. Immediately after triggering, the request was recorded in the database, creating an audit trail even before the actual authorization evaluation. Subsequently, the process split into two parallel branches – one determining the employee's permission level, the other evaluating the required permission level for the given action.

After obtaining both values, they were compared, and a final decision was made on whether the action is allowed or not. The result was saved to the database and returned to the parent process as a simple boolean value. Emphasis was placed on unambiguity, reliability, and easy reusability of the solution.

Technical Solution

The process was implemented as a BPMN workflow in Flowable and designed as a standalone authorization subprocess. The solution architecture allows its easy insertion into other processes without the need to modify the logic.

For communication with the database, a custom backend providing a REST API over a PostgreSQL database was created. The Flowable process used HTTP Service Tasks and standard CRUD operations for retrieving employee data, determining the required action permission level, and for complete process logging.

A key element of the process was parallel processing. In one branch, the employee's confidence level was loaded, in the other, the confidence level required for the given action. After merging the branches, a decision point followed, where the evaluation and result writing to the database took place.

Rigorous error handling was also part of the solution. If the employee did not exist, the request was automatically rejected, and the error recorded in the database. In the case of a non-existent action, the process was similar.

Before

  • No unified authorization mechanism
  • Absence of permission control
  • Limited auditability of decisions
  • Risk of unauthorized actions

After

  • Central user authorization process
  • Unified decision-making across systems
  • Complete audit trail of every request
  • Easy integration into other workflows

Project Parameters

Area Internal Systems / Identity Management
Solution Type Authorization Process
Technologies used Flowable, PostgreSQL, REST API
Laura

Hello, I am Laura, David's AI assistant. I can provide you with information about David or schedule a meeting right away. How can I help you?

Hello, I am David's AI assistant Laura. How can I help you?