Commit Graph

13 Commits (4c59b345a5aaed520586c9cd4313c0703e807c9f)

Author SHA1 Message Date
trivernis 4c59b345a5
Fix panic on non-base64 session tokens
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 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 3a2ea2a03d
Improve logging output format
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 88d4c3966b
Add method to refresh a request token
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 76921e8854
Change field permission on CreateRole to permissions
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 926a2d2334
Add method to create roles
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 7aded7b002
Add method to get permissions for role_ids
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d3e4b3de4d
Add rpc server to startup
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis efc2f1cb8b
Add database connection and table creation
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago