Skip to content

feat: extend API to include all user and current user in response#517

Merged
SerVitasik merged 8 commits intonextfrom
feature/AdminForth/1210/please-extend-cle-generate-api
Apr 7, 2026
Merged

feat: extend API to include all user and current user in response#517
SerVitasik merged 8 commits intonextfrom
feature/AdminForth/1210/please-extend-cle-generate-api

Conversation

@kulikp1
Copy link
Copy Markdown
Collaborator

@kulikp1 kulikp1 commented Mar 23, 2026

No description provided.

const allUsers = await admin.resource("adminuser").list([]);
res.json({
message: "Hello from AdminForth API!",
message: "List of logged-in admin user from AdminForth API",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This endpoint returns admin users only, it does not indicate their login status.

@SerVitasik SerVitasik merged commit 4af7719 into next Apr 7, 2026
1 check failed
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.

2 participants