O
O
Oleg Seledets2018-08-17 12:24:25
MySQL
Oleg Seledets, 2018-08-17 12:24:25

Database access control?

Hello. There is a database in which data is added/changed/deleted/search is performed/reports are displayed in excel. With QtCreator.
This application will be used by several people. How it is possible to organize differentiated access? The first person who logged into the app can replay any action. Other users can only search and report?
Using transactions?
QSqlDatabase::database().transaction()
or locks in mySQL?
SET LOCK
Or is there some better way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lazy @BojackHorseman MySQL, 2018-08-17
@oleja1ee7

Using roles

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question