Jalin Wang
Jalin Wang
> A difference is that in the watch mode (i.e. `gpustat -i`) [handle resources are fetched](https://github.com/wookayin/gpustat/blob/v0.5.0/gpustat/core.py#L372) _at every time step_, which is somewhat expensive. Therefore we could optimize in a...
I tried the same way as lazka and failed. It confuses me a lot that APIRouter has `mount()` which doesn't work actually. 
> Hi there, > > Looks great, though I am not too sure how to implement it, is there a chance you could add a full example how to implement...
How do you modify the policies? If you modify through Casbin's APIs, there is no need to reload.
> is it possible not to somehow load policies into memory and implement a simple flow - check the value in the cache and if it is not there -...
It's a little hard to implement due to the great flexibility of the matcher's grammar. I think we should introduce some hierarchical structure in a certain manner, such as the...
Here is my code for reproduction. ```go func main() { e, err := casbin.NewEnforcer("model.conf", "policies.csv") if err != nil { println(err.Error()) } e.AddNamedDomainMatchingFunc("g", "keyMatch4", util.KeyMatch4) println("done") } ```
@cschappert Sorry for the late response. It's okay to combine `RBAC w/ Resource Roles` with `RBAC w/ Domains`. I don't know your exact scenario, so I guess your model should...
@tangyang9464 `e.m` is a private member which can't be accessed outside. However, we don't always keep `SyncedEnforcer` updated with `Enforcer`, e.g., `SetAdapter()` is missed in the synced one. I want...
@tangyang9464 done. BTW, the semantic check fails due to the merge action. After approval, I will squash them.