question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UpdateGroupingPolicy() and UpdateNamedGroupingPolicy() API for node-casbin

See original GitHub issue

There is updatePolicy(), but I don’t see any update APIs for roles and other grouping policies in node version. Is this going to be implemented? https://casbin.org/docs/en/management-api#updatenamedgroupingpolicy

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
hsluoyzcommented, May 1, 2022

@Shivansh-yadav13 you can do it

0reactions
Shivansh-yadav13commented, May 1, 2022

@Hanaffi are you up for adding these?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Management API - Casbin
The primitive API that provides full support for Casbin policy management. ... GetNamedPolicy gets all the authorization rules in the named policy.
Read more >
Casbin - Go Packages
func (e *Enforcer) SavePolicy() error. SavePolicy saves the current policy (usually after changed with Casbin API) back to file/database.
Read more >
Building RBAC in Node - Blog - Aserto
Roles are essentially groupings of permissions to perform operations ... app.listen(8080, () => { console.log("listening on port 8080"); }); ...
Read more >
casbin nested resources (resource groups) config, not RBAC
I need to write a casbin config to implement user roles and nested resources (objects) in a node.js application. For users RBAC works...
Read more >
Understanding Casbin with different Access Control Model ...
ACL, RBAC, ABAC. Hello Developers . Authorization is a key part of every system we built and Casbin is one common name we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found