Casbin.NET icon indicating copy to clipboard operation
Casbin.NET copied to clipboard

Does using Casbin.NET support defining multiple M's in matchers? For example, m1 m2

Open qq1176914912 opened this issue 2 years ago • 4 comments

When I configure the following figure in the conf file: image Error will be displayed: can not find the assertion at the section m and policy type m. 。 I don't know if. net temporarily doesn't support defining multiple M's in matchers, or if my writing is wrong. image

qq1176914912 avatar Dec 26 '22 07:12 qq1176914912

@sagilio @sociometry @AsakusaRinne

casbin-bot avatar Feb 03 '23 07:02 casbin-bot

Casbin,NET supports this feature, you can see the example here: https://github.com/casbin/Casbin.NET/blob/9cecadd615760838691e391150e1384c1ed9c560/Casbin.UnitTests/ModelTests/ModelTest.cs#L562-L602

sagilio0728 avatar Apr 05 '24 11:04 sagilio0728

close by https://github.com/casbin/Casbin.NET/pull/194

sagilio0728 avatar Apr 05 '24 12:04 sagilio0728