casbin-cpp icon indicating copy to clipboard operation
casbin-cpp copied to clipboard

how to persist polices with PostgreSQL

Open jackleibest opened this issue 3 years ago • 4 comments

Seems the casbin could be save the policies to the PostgreSQL via Go lang or Java, however, how to do it with C++? Are the any adapters?

jackleibest avatar Aug 11 '22 10:08 jackleibest

@EmperorYP7 @sheny1xuan @cs1137195420

casbin-bot avatar Aug 11 '22 10:08 casbin-bot

@cs1137195420

hsluoyz avatar Aug 11 '22 12:08 hsluoyz

@jackleibest The PostgreSQL adapter is not implemented yet, we will implement it later and put it in a separate repository named postgresql-adapter.

cs1137195420 avatar Aug 12 '22 16:08 cs1137195420

@cs1137195420 we should make an ORM adapter first, see: https://github.com/casbin/casbin-cpp/issues/214

@jackleibest do you have any suggestions for a C/C++ ORM?

hsluoyz avatar Aug 12 '22 17:08 hsluoyz

Replaced by: https://github.com/casbin/casbin-cpp/issues/239

hsluoyz avatar May 01 '24 02:05 hsluoyz