casdoor / casdoor-python-sdk

Python client SDK for Casdoor
https://pypi.org/project/casdoor
Apache License 2.0
32 stars 33 forks source link

Can we add v3~v5 field to the enforce function's arg? #43

Closed jump2cn closed 1 year ago

jump2cn commented 1 year ago

https://github.com/casdoor/casdoor-python-sdk/blob/03c20fe6858ed69921583924c41b7255e8eb99e0/src/casdoor/main.py#L271 I need some more infomation for my rule model, then I added them into v3,v4. but for now, this code can only pass v0~v2. are those args seems according by casdoor build-in default model or for other reasons ?

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte

hsluoyz commented 1 year ago

@jump2cn hi, can you make a PR to add v3-v5 fields as optional args?