Closed dmolochnikov closed 1 year ago
@sagilio @sociometry @AsakusaRinne
@dmolochnikov can you paste your error stack about the exception? Also can you try if the online editor has similar issue? https://casbin.org/editor
Thank you for the feedback, the reason is an error transform logic here when the value definitions are too similar. I will try to fix this later. https://github.com/casbin/Casbin.NET/blob/2d721e6c8513a905bce997da86b07f7eba945ec7/Casbin/EnforceView.cs#L137-L147
Hi! Here's test code that demonstrates the issue:
P.S. Possible workaround is to rename definitions to be completely different (like 'abc' and 'xyz' instead of 'obj' and 'obj2')