node-casbin / mongoose-adapter

Mongoose adapter for Casbin
https://github.com/casbin/node-casbin
Apache License 2.0
33 stars 32 forks source link

fix: change p_type to ptype #61

Closed hsluoyz closed 2 years ago

hsluoyz commented 2 years ago

Fix: https://github.com/node-casbin/mongoose-adapter/issues/55#issuecomment-1065234000

BREAKING CHANGE: we will finally move to ptype, as discussed one year ago: https://github.com/pycasbin/sqlalchemy-adapter/issues/26#issuecomment-769799410 . It is also officially documented in the official site: https://casbin.org/docs/en/adapters#:~:text=Ptype%20Column.%20Name%20of%20this%20column%20should%20be%20ptype%20instead%20of%20p_type%20or%20Ptype

casbin-bot commented 2 years ago

@Gabriel-403 @Zxilly @kingiw @nodece please review

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: