summaryrefslogtreecommitdiffstats
path: root/src/input/pvsCheckPrivileges.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Detect the presence of PolKit on configurationSebastien Braun2010-10-061-0/+4
| | | | | | When no PolKit is installed, the program gets built without support for it. This can be overriden by specifying -DENABLE_POLKIT=ON on the cmake command line.
* Fix deletion order bugSebastien Braun2010-10-061-2/+11
| | | | | | PVSCheckPrivileges::instance() is statically allocated. When it is deleted, the QCoreApplication is already gone (since it is stack- allocated), and the destructor of QFileSystemWatcher waits forever.
* Implement administratively configured user privilegesSebastien Braun2010-10-061-1/+160
| | | | | | The administrator can set a list of users and a list of groups to see as privileged. This list is reloaded whenever the configuration file changes, or changes to the user/group database are detected.
* Add Permission checking and session information code.Sebastien Braun2010-10-051-0/+314