Skip to content

fix(users): allow all authenticated users to list users#111

Merged
steilerDev merged 1 commit into
betafrom
fix/users-list-permission
Feb 18, 2026
Merged

fix(users): allow all authenticated users to list users#111
steilerDev merged 1 commit into
betafrom
fix/users-list-permission

Conversation

@steilerDev
Copy link
Copy Markdown
Owner

Summary

  • Removed requireRole('admin') guard from GET /api/users so all authenticated users can list users
  • Regular members need this endpoint to load users for work item assignment (assignee dropdown)
  • Admin-only restriction remains on PATCH /api/users/:id and DELETE /api/users/:id

Test plan

  • Updated existing test: member users now get 200 instead of 403
  • All 1072 tests pass

🤖 Generated with Claude Code

Remove `requireRole('admin')` from GET /api/users so any authenticated
user can list users, and scope CI security audit to production deps only
(`--omit=dev`) since dev-only vulnerabilities (eslint/ajv, semantic-release/tar)
don't ship in the production Docker image.

Co-Authored-By: Claude orchestrator (Opus 4.6) <noreply@anthropic.com>
@steilerDev steilerDev force-pushed the fix/users-list-permission branch 3 times, most recently from 3fa3794 to 0fb5582 Compare February 18, 2026 07:43
@steilerDev steilerDev merged commit 6194c9c into beta Feb 18, 2026
4 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.8.0-beta.13 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@steilerDev steilerDev deleted the fix/users-list-permission branch February 19, 2026 20:39
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants