Files
paralus/components/usermgmt
nirav-rafay 3a8658ad0f added test cases and improved coverage (#32)
* added test cases and improved coverage
* aligned usermgmt project structure
* move all proto to rcloud-base common
2022-03-01 11:48:56 +05:30
..
2022-02-03 11:04:01 +05:30
2022-02-23 11:18:49 +05:30
2022-02-23 11:18:49 +05:30
2022-02-21 17:11:11 +05:30

User management

This module is responsible for manging users/groups/roles as well as being a frontend for the casbin internal service. All user/auth related requests go through here.

Development

Run kratos migrations

export DSN='postgres://postgres@localhost:5432/admindb?sslmode=disable'
kratos -c kratos.yaml migrate sql -e --yes

Start kratos

cd components/usermgmt/_kratos
kratos serve -c kratos.yml

Run usermgmt server

cd components/usermgmt/_kratos
go run main.go