mirror of
https://github.com/paralus/paralus.git
synced 2026-05-21 07:43:04 +00:00
* Update dependencies from authz * authz: fix log import path * Authz related creation steps * Fix typo: Namesapce -> Namespace * Add tests for role creation interaction with authz * Switch to using names for policy and group creation in authz * Group creation not udpates casbin db * Fix reading db address from env * Tiny typo fix in readme * Simplify error handling in usermgmt server * Rework test setup * Fix all current tests * Complete authz integration * Drop unnecessary dependency on adminsrv in usermgmt
537 B
537 B
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