Commit graph

2 commits

Author SHA1 Message Date
George Kiagiadakis
10f8eff99c m-client-permissions: ref-count the client data and re-work code for safety
It so happens that sometimes the client proxy is created and destroyed
immediately, almost instantly, which causes this code to crash in case
the proxy pointer is gone when our idle callback tries to destroy it.

This change makes the whole operation safe.
2019-07-11 17:19:14 +03:00
George Kiagiadakis
3e24856263 modules: add new module to manage client permissions
Currently this will just grant full access to all clients.
A future version will refine that to grant access to specific
objects only.
2019-06-26 12:11:38 +03:00