Commit Graph

14 Commits (7f4e89caf21336e485d29b3c221eabd4bb9a6369)

Author SHA1 Message Date
trivernis 7f4e89caf2
Add copyright comments
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f5729b65e2
Add path to get information about a role
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 04a0767e24
Add roles/create REST method
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 11e725d302
Add some comments and fix some style issues
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis eb25371670
Change admin role and user handling
Change the handling of the default admin role and the default admin user
to be assigned roles based on their names instead of their id.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis b73f41f67d
Change tcp message handling to be multithreaded
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 94ae69ec60
Switch to pooled postgres client
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 04de5a4e4f
Change permission creation to return permissions even if they exist
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9ad9379381
Remove redis dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bd464f4954
Add method to create permissions
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a6119b04bf
Add getRoles method and return ttl for tokens
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis c189b4bef9
Add function to create a user
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f571f062fa
Add redis connection to all models
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8890c048f0
Add data models
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago