• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

casbin / mongodb-adapter
82%

Build:
DEFAULT BRANCH: master
Repo Added 09 Aug 2017 09:19AM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • copilot/fix-savepolicy-unique-index-issue
  • fix-63
  • slhmy/ci-fix
  • v1.0.0
  • v2.0.0
  • v2.1.0
  • v3.0.0
  • v3.1.0
  • v3.1.1
  • v3.2.0
  • v4.0.0

10 Mar 2026 09:20AM UTC coverage: 82.474% (-0.3%) from 82.744%
22895629117

Pull #74

github

Tristan Theron
feat: fixed SavePolicy failing when the new policy is empty
Pull Request #74: feat: fixed SavePolicy failing when the new policy is empty

5 of 7 new or added lines in 1 file covered. (71.43%)

400 of 485 relevant lines covered (82.47%)

0.95 hits per line

Relevant lines Covered
Build:
Build:
485 RELEVANT LINES 400 COVERED LINES
0.95 HITS PER LINE
Source Files on master
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22895629117 master feat: fixed SavePolicy failing when the new policy is empty Pull #74 10 Mar 2026 09:24AM UTC Tristan Theron github
82.47
19167961822 master feat: fix SavePolicy bug to preserve unique indexes by using DeleteMany instead of Drop (#73) push 07 Nov 2025 12:12PM UTC hsluoyz github
82.74
19167955245 master feat: fix SavePolicy bug to preserve unique indexes by using DeleteMany instead of Drop (#73) push 07 Nov 2025 12:12PM UTC web-flow github
82.74
15228472788 master feat: fix csv parsing error in loadPolicyLine by using persist.LoadPolicyArray() (#71) push 24 May 2025 03:28PM UTC web-flow github
82.74
15204455608 master feat: fix CI workflow to use the correct go version (#70) push 23 May 2025 07:08AM UTC web-flow github
82.44
10032789796 master feat: add prepareIndexes() method to NewAdapterByDB() (#64) * feat: go mod tidy * feat: create reuse able prepareIndexes function and apply to NewAdapterByDB and open functions push 22 Jul 2024 12:56AM UTC web-flow github
82.55
10029686351 master feat: create reuse able prepareIndexes function and apply to NewAdapterByDB and open functions Pull #64 22 Jul 2024 12:51AM UTC toeydevelopment github
82.55
7488008002 master feat: improve performance of AddPolicies (#62) push 11 Jan 2024 11:20AM UTC web-flow github
82.64
5821774097 master docs: fix broken links (#61) * fix: fix broken links * docs: add badge push 10 Aug 2023 01:32PM UTC web-flow github
82.67
5534417896 master feat: upgrade mongo-driver version to use bson.D (#60) push 12 Jul 2023 05:06PM UTC web-flow github
82.67
See All Builds (100)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc