Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum
E

Yeah, the test cases worked for me for data stored without quotations

These are my tests, the third one returns true, but it's not deleting after using the deletepermissionforuser api

code.png

And this is the table row I'm filtering

Screenshot_2024-03-01_at_4.19.02_pm.png

E

But the deletepermission api isn't deleting this column when filtered, though it's returning true on deletion

E

Hii guyss, sorry please currently, can we add array of permissions in one row of a role with casbin? I've checked the documentation and I don't think I had a line that described that... using addpermissions to roles create multiple rows of permission to the role in my db table

E

anyone used casbin with nextjs?