Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BACK - Admin: "User enable" menu routes #4

Open
axel-denis opened this issue Mar 21, 2024 · 1 comment
Open

BACK - Admin: "User enable" menu routes #4

axel-denis opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
BACK enhancement New feature or request good first issue Good for newcomers

Comments

@axel-denis
Copy link
Owner

Should include:

  • A get route to get users (name & id) and their state (enabled or not).
    • Should be able by reading the request to show all, only not enabled or only enabled
  • A post route to enable / disable an user.
    • For the v1 should be one call per user. Maybe include a list of users in the request in the v2

The routes will of course be protected after the admin middleware.

@axel-denis axel-denis added enhancement New feature or request good first issue Good for newcomers labels Mar 21, 2024
@axel-denis axel-denis changed the title BACK - Admin: User enable menu routes BACK - Admin: "User enable" menu routes Mar 21, 2024
@axel-denis
Copy link
Owner Author

merged the first version of this branch into back/files_sharing

axel-denis added a commit that referenced this issue Apr 7, 2024
@axel-denis axel-denis self-assigned this Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BACK enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant