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

raystack / frontier / 26081496277
42%
main: 45%

Build:
Build:
LAST BUILD BRANCH: fix/replace-searchusers-with-getuser
DEFAULT BRANCH: main
Ran 19 May 2026 07:01AM UTC
Jobs 1
Files 276
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 06:55AM UTC coverage: 42.306% (-0.03%) from 42.34%
26081496277

Pull #1622

github

whoAbhishekSah
fix(authz): require permission checks on GetPolicy, ListOrganizations, ListUsers

These three endpoints previously allowed any authenticated user to read
sensitive data without resource-level authz, leaking policy details and
the platform-wide org/user inventory.

- GetPolicy: fetch the policy, then check policymanage (org/project),
  group admin, or delete on the underlying resource, mirroring
  DeletePolicy.
- ListOrganizations: keep the platform-pref gate, allow self-introspection
  when user_id matches the caller, otherwise require platform superuser.
- ListUsers: keep the platform-pref gate, require get on the org when
  org_id is set, get on the group when group_id is set, otherwise
  require platform superuser.

Adjust three TestUserAPI subtests that called ListUsers as a non-member
regular user to use the existing superuser context, since they verify
filter/keyword behaviour rather than authz.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #1622: fix(authz): require permission checks on GetPolicy, ListOrganizations, ListUsers

0 of 34 new or added lines in 1 file covered. (0.0%)

15969 of 37746 relevant lines covered (42.31%)

11.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
34
0.0
0.0% pkg/server/connect_interceptors/authorization.go
Jobs
ID Job ID Ran Files Coverage
1 26081496277.1 19 May 2026 07:01AM UTC 276
42.31
GitHub Action Run
Source Files on build 26081496277
  • Tree
  • List 276
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1622
  • PR Base - main (#26017702774)
  • 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