ardanlabs / service

Starter-kit for writing services in Go using Kubernetes.
https://www.ardanlabs.com
Apache License 2.0
3.38k stars 605 forks source link

More complicated role #374

Closed himynamej closed 1 month ago

himynamej commented 1 month ago

In My project we want to add more complicated roles for example for admin we want to add more control,one admin can update user one and enother admin can not do it .do you have any suggestions for us?

ardan-bkennedy commented 1 month ago

The framework is there with OPA. Just figure out on paper the semantics and then just extend the use of OPA and middleware functions.

You might want to try and talk to some OPA people and see what they suggest.

himynamej commented 1 month ago

Thank you