Jalin Wang

Results 23 issues of Jalin Wang

Any way to show the size of a folder ?

fix https://github.com/casbin/casbin/issues/1015#issuecomment-1172308507 I also do a modification on the behavior of `DeletePermission`&`DeletePermissionForUser`: if they are worked in a priority model, they don't require a priority value in the permission parameters(...

[`CachedEnforcer`](https://github.com/casbin/casbin/blob/master/enforcer_cached.go) can not handle the update requests, i.e., it does not invalidate the cache. Also, if `AddPolicy()` add a user deny rule, e.g., `alice, data, read, deny`, or role deny...

bug

fix: https://github.com/casbin/xorm-adapter/issues/49#issuecomment-1195207543

There are some functions lacking in `SyncedEnforcer`, i.e., `SetAdapter()`. I don't think we can always keep them consistent, so can we add a lock-wrapped interface for compatibility? A proof-of-concept: ```golang...

question

Update the benchmark cases for different languages for https://casbin.org/docs/en/benchmark . We use the Golang version as the standard. - [ ] python - [ ] cpp

enhancement

I'm currently working on implementing the WatcherEx interface for #943 #960 #949 . This issue is open for tracking.

bug
enhancement

练习12.17 有点错误,因为p2是用pi2初始化的,因此实际上p2也是指向ix,等价于(d)IntP p3(&ix) 同时,规范了一下“合法”这个词的含义,即可以编译

When `Enforcer.UpdateFilteredPolicies()` is called, the calculation of effected lines require `old rules` returned by the Adapter in `sub, obj, act` form. However, the returned data is `p, sub, obj, act`....

bug