Skip to content

Improve role management CLI discoverability - #144

Merged
neuromechanist merged 2 commits into
devfrom
feature/issue-141-role-management-cli
Feb 13, 2026
Merged

neuromechanist merged 2 commits into
devfrom
feature/issue-141-role-management-cli

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

  • Add --role <role> filter to nemar admin users (owner, admin, member)
  • Add role query param support to backend GET /admin/users
  • Show [member] badge in user listings (previously only [owner] and [admin] shown)
  • Add detailed help text for nemar admin role with permission model documentation
  • Add role management examples to admin help text

Test plan

  • Run nemar admin users --role admin and verify only admins are listed
  • Run nemar admin users --role member and verify only members shown
  • Run nemar admin users --approved --role owner and verify combined filters work
  • Run nemar admin role --help and verify permission model is documented
  • Run nemar admin --help and verify role command is listed under User Management

Closes #141

- Add --role filter to 'nemar admin users' command
- Add role query param support to backend GET /admin/users
- Show [member] badge alongside [owner] and [admin] in user list
- Add detailed help text for role command with permission model
- Add role examples to admin help text

Closes #141
- Validate role query param against allowed values
- Return 400 for invalid role instead of empty results

This branch was previously deployed

1 inactive deployment
npm — a77b37d3 Deployed Feb 13, 2026 by neuromechanist via publish #249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant