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

hyperledger / fabric-x-common / 26084144288
83%

Build:
DEFAULT BRANCH: main
Ran 19 May 2026 07:58AM UTC
Jobs 1
Files 184
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

19 May 2026 07:56AM UTC coverage: 82.705% (-0.001%) from 82.706%
26084144288

push

github

web-flow
Restore PeerPropose ACL resource and remove ACL capability gates (#115)

#### Type of change

- Bug fix

#### Description

Commit c948ab27e removed all ACL resource constants and default policy
mappings, but fabric-smart-client's fabricx membership service still
depends on:

  - resources.Peer_Propose constant ("peer/Propose")
  - default ACL mapping Peer_Propose → CHANNELWRITERS
  - aclmgmt.ACLProvider / aclmgmt.NewACLProvider

Without these, FSC fails to compile and CheckACL would hit "Unmapped
policy" at runtime.

Additionally, remove the capability gate that rejected ACLs when the
application capability version was below V1_2. In Fabric-X, ACLs are
always allowed regardless of capability version.

Changes:
  - core/aclmgmt/resources/resources.go: restore Peer_Propose constant
- core/aclmgmt/defaultaclprovider.go: restore Peer_Propose →
CHANNELWRITERS mapping
  - common/capabilities/application.go: ACLs() always returns true
- common/channelconfig/application.go: remove capability validation gate
  - Update tests for always-allowed ACLs

---------

Signed-off-by: Senthilnathan <cendhu@gmail.com>

1 of 4 new or added lines in 2 files covered. (25.0%)

14853 of 17959 relevant lines covered (82.71%)

0.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
16.92
-0.82% core/aclmgmt/defaultaclprovider.go
Jobs
ID Job ID Ran Files Coverage
1 26084144288.1 19 May 2026 07:58AM UTC 184
82.71
GitHub Action Run
Source Files on build 26084144288
  • Tree
  • List 184
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 84a244bd on github
  • Prev Build on main (#25860317471)
  • Next Build on main (#26457337030)
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