Skip to content

feat: add admin user detail and role endpoints (#55, #56)#69

Merged
ayshadogo merged 3 commits into
Dfunder:mainfrom
Mkalbani:feat/55-56-admin-user-management
Jun 19, 2026
Merged

feat: add admin user detail and role endpoints (#55, #56)#69
ayshadogo merged 3 commits into
Dfunder:mainfrom
Mkalbani:feat/55-56-admin-user-management

Conversation

@Mkalbani

@Mkalbani Mkalbani commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added admin endpoint to retrieve a specific user profile
  • Added admin endpoint to update a user's role
  • Blocked self-demotion attempts
  • Added tests covering both admin flows

Related issues

closes #55
closes #56

@ayshadogo ayshadogo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thank you for your contribution 🤝

@ayshadogo ayshadogo merged commit c414223 into Dfunder:main Jun 19, 2026
1 check passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jun 19, 2026
4 tasks
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.

Admin: Update User Role Admin: Get Single User by ID

2 participants