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

veeso / wasm-dbms / 25016999734
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: 0.9.0
DEFAULT BRANCH: main
Ran 27 Apr 2026 08:24PM UTC
Jobs 1
Files 118
Run time 1min
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

27 Apr 2026 08:10PM UTC coverage: 91.18% (-0.4%) from 91.602%
25016999734

push

github

veeso
feat(acl)!: granular per-identity permissions (closes #87)

Replaces the flat allow-list ACL with a granular permission model.
Each identity carries `admin` / `manage_acl` / `migrate` flags plus
`TablePerms` (READ/INSERT/UPDATE/DELETE) scoped to all tables or to
specific tables. CRUD endpoints generated by `#[derive(DbmsCanister)]`
gate per-operation; migration endpoints gate on `migrate`.

Breaking changes:
- ACL page layout bumped to v2 (no migration from 0.8.x).
- `IcDbmsCanisterInitArgs.allowed_principals` is `Option<Vec<Principal>>`;
  `None`/empty bootstraps the deployer as full admin.
- Canister endpoints `acl_add_principal` / `acl_remove_principal` /
  `acl_allowed_principals` removed; replaced by `grant_admin`,
  `revoke_admin`, `grant_manage_acl`, `revoke_manage_acl`,
  `grant_migrate`, `revoke_migrate`, `grant_all_tables_perms`,
  `revoke_all_tables_perms`, `grant_table_perms`, `revoke_table_perms`,
  `remove_identity`, `list_identities`, `my_perms`.
- New `DbmsError::AccessDenied { table, required }` returned in lieu
  of trapping for unauthorized CRUD/ACL/migrate calls.
- New `MemoryError::AclLayoutUnsupported`.

712 of 872 new or added lines in 8 files covered. (81.65%)

6 existing lines in 2 files now uncovered.

21730 of 23832 relevant lines covered (91.18%)

909092.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
66
83.92
-5.66% crates/wasm-dbms/wasm-dbms/src/database.rs
61
77.2
-5.35% crates/ic-dbms/ic-dbms-canister/src/api.rs
15
88.72
crates/wasm-dbms/wasm-dbms-api/src/dbms/acl.rs
8
84.62
-15.38% crates/ic-dbms/ic-dbms-canister/src/memory.rs
5
92.31
crates/wasm-dbms/wasm-dbms-memory/src/acl/no_acl.rs
3
97.79
-2.21% crates/wasm-dbms/wasm-dbms/src/context.rs
2
99.38
crates/wasm-dbms/wasm-dbms-memory/src/acl/list.rs

Coverage Regressions

Lines Coverage ∆ File
5
77.2
-5.35% crates/ic-dbms/ic-dbms-canister/src/api.rs
1
0.0
0.0% crates/ic-dbms/ic-dbms-canister/src/api/inspect.rs
Jobs
ID Job ID Ran Files Coverage
1 25016999734.1 27 Apr 2026 08:24PM UTC 118
91.18
GitHub Action Run
Source Files on build 25016999734
  • Tree
  • List 118
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25016999734
  • 366e1246 on github
  • Prev Build on 0.9.0 (#25006237165)
  • Next Build on 0.9.0 (#25017183627)
  • Delete
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