LoopAuth icon indicating copy to clipboard operation
LoopAuth copied to clipboard

How to implement ABAC permission model in a permission middle platform without fixed data models?

Open yaoper opened this issue 9 months ago • 1 comments

The documentation provides a demo of the ABAC permission model, but this demo requires coding with fixed data models (e.g., UserModel). How should this be implemented if this is intended for a permission middle platform where data models cannot be fixed?

yaoper avatar Apr 09 '25 14:04 yaoper

The core function of the ABAC module in this project is to provide developers with a way to authenticate custom rules. Therefore, during the project coding phase, it is necessary to fully consider and complete the work of writing rules for themes, environments, operations, and access objects. In this way, after the project is put into production, the access rights can be flexibly adjusted according to the existing rule model.

In addition, due to my limited energy, this project has been discontinued from maintenance. It is not recommended for production use. If you are interested in ABAC, we can continue our discussion. I hope it can provide you with some inspiration.

ChangZou avatar Apr 09 '25 15:04 ChangZou