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

raystack / frontier / 24772366497
42%
main: 43%

Build:
Build:
LAST BUILD BRANCH: fix/upgrade-go-1.26.4
DEFAULT BRANCH: main
Ran 22 Apr 2026 10:07AM UTC
Jobs 1
Files 276
Run time 17s
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

pending completion
24772366497

Pull #1562

github

whoAbhishekSah
feat: add service user support to membership validatePrincipal

Extend the membership package to validate service user principals
alongside regular users. This is a prerequisite for migrating service
user org membership from direct relation creation to the membership
package.

Changes:
- Add orgID param to validatePrincipal for cross-org validation
- Implement ServiceUserPrincipal case with org ownership + disabled checks
- Add ErrPrincipalNotInOrg for cross-org rejection (distinct from ErrInvalidPrincipal)
- Use serviceuser.ErrDisabled instead of user.ErrDisabled
- Fix audit helpers to use principalTypeToAuditType and conditional email
- Update docstrings for AddOrganizationMember and SetOrganizationMemberRole

Ref: https://github.com/raystack/frontier/issues/1478

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #1562: feat: add service user support to membership validatePrincipal

15712 of 37064 relevant lines covered (42.39%)

11.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24772366497.1 22 Apr 2026 10:07AM UTC 276
42.39
GitHub Action Run
Source Files on build 24772366497
  • Tree
  • List 276
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1562
  • PR Base - main (#24772116832)
  • 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