To manage data access permissions and restrictions, Oracle database tools –the user roles – are used. We implemented two-phase management of role-based permissions, in which the database security administrator confirms the actions of the application system administrator configuring roles and granting role-based permissions to users.