Closed LeiYangGH closed 2 years ago
Thank you! I will fix the typo later.
It use c.HttpContext.Request.Method directly now, so the format like GET
, POST
.
there is another typo in a folder name: https://github.com/casbin-net/casbin-aspnetcore/tree/master/src/Casbin.AspNetCore.**Astractions**
I suppose this needs to be Abstractions
@sagilio any update on this issue?
I guess this is (at least partially) closed by https://github.com/casbin-net/casbin-aspnetcore/pull/39
I cloned and ran the sample. after some experiments, I found that if in basic_policy.csv,
GET
works butGet
not work.GET
orPOST
, etc. could you please explain a little why in policy.csv the action syntax must be all upper case? Is it related to some http specification? Is it implement dependent(is the behaviour related to operation system/browser versions)?