Tags: apache/casbin-server
Tags
feat: add enforcer EnableAcceptJsonRequest feature (#119) Version of the "Casbin" module upgraded to 2.100 to access the "bleAcceptJsonRequest" feature then integrated this project with the new version of the "Casbin" then added new requested feature. Changes: - Upgraded the version of the "Casbin" module - Integrated with the new version of the "Casbin" module - Changed the .proto file to add "EnableAcceptJsonRequest" field at calling NewEnforcer - Generated Go files from new changed the .proto file - Added "EnableAcceptJsonRequest" field to each "NewEncoder" test cases Co-authored-by: Ali Shokoohi <shokoohi.pub@gmail.com>
feat: fix the CI dockerhub release error (#118) Because of this project is using golang version 1.19, We should choice a good versions for packages. Changes: - Changed version of google.golang.org/protobuf/cmd/protoc-gen-go from @latest to @v1.28.0 - Changed version of google.golang.org/protobuf/cmd/protoc-gen-go from @latest to @v1.2.0 - Download modules with `go mod download` command instead of downloading packages with latest versions like: "RUN go get google.golang.org/grpc"
feat: added mongodb driver support (#116) Added mongodb driver support for connection to a mongodb database as an adapter handler Changes: - Added `mongodb-adapter` module for connecting to a MongoDB database. - Included 'mongodb' as a supported driver. - Updated driver switch-case to create a new MongoDB handler based on the provided `in.DriverName`. - Added a configuration example for MongoDB connection in the `config/` directory.
feat: replace ioutils.ReadFile functions by os.ReadFile due to deprec… …ation (#114) * add unit test for GetDomains function * fix: remove ioutils.ReadFile function after deprecation Use os package version of the function, as ioutils implementation was deprecated. * fix: adds context.TODO to avoid passing nil context adds context.TODO to avoid passing nil context
PreviousNext