Skip to content
Snippets Groups Projects

Allow admins to create users (resolves #764)

All threads resolved!

What does this PR do?

Allow admins to use the /api/users/create endpoint and the "Add a user" button. Users created in this way are automatically approved, so that the returned token is actually usable.

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Hazelnoot added 27 commits

    added 27 commits

    • 2db2103a...1520bc17 - 24 commits from branch TransFem-org:develop
    • f36a1a57 - allow admins to create approved users
    • 37ff2bb0 - always approve the first / root user
    • ade801ec - check token permissions in admin/accounts/create.ts

    Compare with previous version

    Toggle commit list
  • Hazelnoot resolved all threads

    resolved all threads

  • dakkar approved this merge request

    approved this merge request

  • Marie approved this merge request

    approved this merge request

  • merged

  • Hazelnoot mentioned in commit bcc845cd

    mentioned in commit bcc845cd

  • Please register or sign in to reply