casbin / casbin-cpp

An authorization library that supports access control models like ACL, RBAC, ABAC in C/C++
https://casbin.org
Apache License 2.0
218 stars 61 forks source link

SyncedEnforcer And CachedEnforcer in c++ #234

Open phsang198 opened 10 months ago

phsang198 commented 10 months ago

Description

i don't know the different things between two type of them . There are four problems which i want to solve in my server c++ :

  1. load all policies from database to memory
  2. cache some checked policies for after checking
  3. auto reload any policies when having some changes in database
  4. solve them in multi thread

Can you give me any examples for using ? Thank you !!!

casbin-bot commented 10 months ago

@EmperorYP7 @sheny1xuan @cs1137195420