Skip to content

Conversation

@rg2011
Copy link

@rg2011 rg2011 commented Feb 6, 2026

Description

This PR updates the lua-casbin module dependency to version 1.46.0, to fix a bug that was reported upstream (casbin/lua-casbin#152).

Which issue(s) this PR fixes:

Fixes #12974

Checklist

  • I have explained the need for this PR and the problem it solves: I reported it in issue bug: casbin enforcers overwrite each other - fixed upstream #12974
  • I have explained the changes or the new features added to this PR: Tehre are no new features, just a dependency bump.
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

I haven't updated tests or documentation because I don't know if it applies to dependency bumps, it there is some doc to update please let me know.

Regarding backward compatibility, the only difference between the current lua-casbin version (1.45.0) and the new one (1.46.0) is the fix to bug casbin/lua-casbin#152:

https://github.com/casbin/lua-casbin/compare/v1.45.0..v1.46.0

So I believe there are no backward compatibility issues, but have not tested extensively.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. dependencies Pull requests that update a dependency file labels Feb 6, 2026
@Baoyuantop
Copy link
Contributor

Hi @rg2011, can you create a test based on the scenario described in the issue? We want to verify that the issue is fixed and prevent similar issues from occurring again in the future.

@Baoyuantop Baoyuantop changed the title Update version of dependency lua-casbin to 1.46.0 chore: update version of dependency lua-casbin to 1.46.0 Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: casbin enforcers overwrite each other - fixed upstream

2 participants