Zxilly
Zxilly
@hsluoyz g function relies on `hasLink` of RoleManager, which is an async function. To implement this, we must create a synced version role manager. This can be a breaking change.
@Shivansh-yadav13 Supporting synchronous APIs in existing architectures is difficult. This is because many databases have asynchronous clients.
@Sefriol It's possible. #303 was gave up because we decided to make a better implementation in the `casbin.js` at that time. It still works as a trick. I have restored...
@Sefriol I didn't find it. In the `casbin core` there only async g function available now. I have reopen the pull request, we need more discussion.
Maybe you should use `watcher` mechanic. It will update the in-memory policy when the policy in database updated.
@yamilfrich Full discussion can be found at https://github.com/casbin/casbin.js/pull/172 https://github.com/casbin/casbin.js/pull/176. If that PR got merged, we will apply it to node-casbin immediately.
@rashid301 An early bird version is available at `casbin.js@next`, but it has some limitation right now. The migration will take place when it is functionally complete. You can find `casbin.js@next`...
`problem.json` 格式如下 ```json { "display_id": "1038", "title": "test", "description": { "format": "html", "value": "test" }, "tags": [ "test" ], "input_description": { "format": "html", "value": "test" }, "output_description": { "format": "html",...
@hsluoyz There is a lot work to do. Will do this.
咋的,多发几条就会有人理你了? 声音不够大!听不见!