mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
9cc1810831
* [FEATURE] Roles support for MySQL and PostgreSQL Roles are stored in separate (name,uuid) table. Role can be given to user by adding "role.<name/guid>" permission to user. Permissions can be added to role by adding record with role`s uuid to permissions table. * [REFACTOR] Refactor roles quering Use 2 queries, first to query names of all user`s roles, second to recursively query all permissions. This also allows roles inheritance. All code from previous realisation, that is not used in this one, was commented, so if this realisation will be accepted, that code can be finaly removed. * [REFACTOR] Removed commented code * [REFACTOR] Remover useless catches |
||
---|---|---|
.. | ||
src | ||
build.gradle |