Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
apache
/
casbin
Public
Notifications
You must be signed in to change notification settings
Fork
1.8k
Star
20.4k
Code
Issues
38
Pull requests
6
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Actions: apache/casbin
Actions
All workflows
Workflows
Build
Build
Build Source Release Draft
Build Source Release Draft
Copilot code review
Copilot code review
Copilot coding agent
Copilot coding agent
Dependency Graph
Dependency Graph
golangci-lint
golangci-lint
pages-build-deployment
pages-build-deployment
Post Benchmark Comment
Post Benchmark Comment
Release
Release
Performance Comparison for Pull Requests
Performance Comparison for Pull Requests
Disabled
Show more workflows...
Management
Caches
Deployments
Build
Build
Actions
Loading...
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
will be ignored since log searching is not yet available
Show workflow options
Create status badge
Create status badge
Loading
Uh oh!
There was an error while loading.
Please reload this page
.
default.yml
will be ignored since log searching is not yet available
536 workflow runs
536 workflow runs
Event
Filter by Event
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching events.
Status
Filter by Status
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching statuses.
Branch
Filter by Branch
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching branches.
Actor
Filter by Actor
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching users.
fix: return error instead of panic on missing policy type in LoadPolicyArray
Build
#2135:
Pull request
#1757
opened by
zjncs
Action required
zjncs:fix/load-policy-array-empty-ptype
zjncs:fix/load-policy-array-empty-ptype
Action required
View #1757
View workflow file
fix: size cache key buffer per rule in cached enforcers
Build
#2134:
Pull request
#1756
opened by
zjncs
Action required
zjncs:fix/cached-enforcer-ragged-rules-cache-key
zjncs:fix/cached-enforcer-ragged-rules-cache-key
Action required
View #1756
View workflow file
fix: propagate policy parse errors in string adapter LoadPolicy
Build
#2133:
Pull request
#1755
opened by
zjncs
Action required
zjncs:fix/string-adapter-propagate-parse-errors
zjncs:fix/string-adapter-propagate-parse-errors
Action required
View #1755
View workflow file
fix: copy sets before sorting in SetEquals, SetEqualsInt and Set2DEquals
Build
#2132:
Pull request
#1753
opened by
lenamonj
Action required
lenamonj:fix-set-equals-mutation
lenamonj:fix-set-equals-mutation
Action required
View #1753
View workflow file
perf(util): replace global RWMutex with sync.Map in reCache to eliminate mutex contention (fix #1690)
Build
#2131:
Pull request
#1750
opened by
Jaymr1031-Z
-1s
Jaymr1031-Z:perf/regex-sync-map-cache
Jaymr1031-Z:perf/regex-sync-map-cache
-1s
View #1750
View workflow file
feat: add grouping, batch update and filtered remove APIs to Transaction
Build
#2130:
Commit
34297a1
pushed by
hsluoyz
2m 15s
master
master
2m 15s
View workflow file
fix: guard LRUCache against non-positive capacity (#1749)
Build
#2129:
Commit
b8c049a
pushed by
hsluoyz
4m 22s
master
master
4m 22s
View workflow file
fix: guard LRUCache against non-positive capacity
Build
#2128:
Pull request
#1749
synchronize by
hsluoyz
3m 26s
nikolauspschuetz:fix/lrucache-non-positive-capacity
nikolauspschuetz:fix/lrucache-non-positive-capacity
3m 26s
View #1749
View workflow file
docs: remove Sourcegraph badge from README
Build
#2126:
Commit
e872532
pushed by
hsluoyz
5m 10s
master
master
5m 10s
View workflow file
fix: guard LRUCache against non-positive capacity
Build
#2125:
Pull request
#1749
opened by
nikolauspschuetz
2m 15s
nikolauspschuetz:fix/lrucache-non-positive-capacity
nikolauspschuetz:fix/lrucache-non-positive-capacity
2m 15s
View #1749
View workflow file
docs: fix broken star history chart in README (#1748)
Build
#2124:
Commit
e275c6c
pushed by
hsluoyz
4m 38s
master
master
4m 38s
View workflow file
perf: cache compiled patterns by key2 in KeyMatch/KeyGet
Build
#2122:
Commit
0936f2c
pushed by
hsluoyz
6h 35m 7s
master
master
6h 35m 7s
View workflow file
feat: expose Transaction.GetAdapter() to share the tx with GORM
Build
#2121:
Commit
9a94fde
pushed by
hsluoyz
7m 15s
master
master
7m 15s
View workflow file
fix: don't write to adapter in Self* APIs
Build
#2120:
Commit
75f29b7
pushed by
hsluoyz
5h 53m 49s
master
master
5h 53m 49s
View workflow file
feat: expose Transaction.GetAdapter() to share the tx with GORM
Build
#2119:
Commit
9a94fde
pushed by
hsluoyz
20m 2s
master
master
20m 2s
View workflow file
ci: migrate golangci-lint to v2 and fix lint issues
Build
#2118:
Commit
e9df34e
pushed by
hsluoyz
17m 13s
master
master
17m 13s
View workflow file
fix: fix go linter
Build
#2117:
Commit
b32cfd3
pushed by
hsluoyz
8m 52s
master
master
8m 52s
View workflow file
feat: add RBAC with ABAC condition example
Build
#2116:
Commit
cfa80fc
pushed by
hsluoyz
1m 30s
master
master
1m 30s
View workflow file
fix: preserve policy order in Model.RemovePolicy
Build
#2115:
Commit
d3e9928
pushed by
hsluoyz
9m 2s
master
master
9m 2s
View workflow file
fix: keep ", " separator in SavePolicy output
Build
#2114:
Commit
0dd2ea7
pushed by
hsluoyz
3m 16s
master
master
3m 16s
View workflow file
perf: optimize batch policy removal (#1729)
Build
#2113:
Commit
65cb985
pushed by
hsluoyz
14m 10s
master
master
14m 10s
View workflow file
perf: optimize batch policy removal (#1729)
Build
#2112:
Commit
aca1f8f
pushed by
hsluoyz
8m 4s
master
master
8m 4s
View workflow file
test: add key get wrapper coverage (#1730)
Build
#2111:
Commit
df166f6
pushed by
hsluoyz
2m 57s
master
master
2m 57s
View workflow file
fix: remove deprecated comment from RemovePolicy method (#1662)
Build
#2110:
Commit
c94e936
pushed by
hsluoyz
7m 8s
master
master
7m 8s
View workflow file
perf: fast-path KeyMatch2/3/4/5 for plain keys and "*"
Build
#2109:
Commit
9e2b767
pushed by
hsluoyz
3m 41s
master
master
3m 41s
View workflow file
Previous
1
2
3
4
5
…
21
22
Next
You can’t perform that action at this time.