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
can you give an example?
Got it to work now, thanks @hsluoyz

But the deletepermission api isn't deleting this column when filtered, though it's returning true on deletion
we have test cases for it. take a look at it
probably your usage is wrong
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

And this is the table row I'm filtering

can you send it as a github issue? with everything included?
Alright
I'll do
Thank you
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casbin or view latest topics.
1 / 8
Mar 2024
