Skip to content

User Management API - #3238

Merged
ssddanbrown merged 9 commits into
developmentfrom
users_api
Feb 8, 2022
Merged

ssddanbrown merged 9 commits into
developmentfrom
users_api

Conversation

@ssddanbrown

@ssddanbrown ssddanbrown commented Feb 3, 2022

Copy link
Copy Markdown
Member

Continuation of #2734.
Addresses #2701 and likely #1363.

Progress

  • Create
  • Read
  • Update
  • Delete
  • Listing
  • Testing Coverage
  • API Examples Added

itbane and others added 4 commits May 5, 2021 14:16
* add /users/{id} to get a single user
* add variable to print fields that are otherwise hidden (e.g. email)
- Updated routes to use new format.
- Changed how hidden fields are exposed to be more flexible to different
  use-cases.
- Updated properties available on read/list results.
- Started adding testing coverage.
- Removed old unused UserRepo 'getAllUsers' function.

Related to #2701, Progression of #2734
- Refactored some delete checks into repo.
- Added tests to cover.
- Moved some translations to align with activity/logging system.
- Required changing the docs generator to handle more complex
  object-style rules. Bit of a hack for some types (password).
- Extracted core update logic to repo for sharing with API.
- Moved user update language string to align with activity/logging
  system.
- Added tests to cover.
- Required extracting logic into repo.
- Changed some existing creation paths to standardise behaviour.
- Added test to cover new endpoint.
- Added extra test for user delete to test migration.
- Changed how permission errors are thrown to ensure the right status
  code can be reported when handled in API.
@ssddanbrown

Copy link
Copy Markdown
Member Author

Now ready to merge. Could do with some manual checking of interface-based user-management actions in release testing.
Will be part of the next release. Awaiting a closer time to release before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants