portainer/api/http/handler/users
Matt Hook 334eee0c8c
fix(errors): wrap db errors, improve error handling (#8859)
* use error check func, wrap db object not found

* add errorlint and fix all the linting errors

* add exportloopref linter and fix errors

* fix incorrect error details returned on an api

* fix new errors

* increase linter timeout

* increase timeout to 10minutes

* increase timeout to 10minutes

* rebase and fix new lint errors

* make CE match EE

* fix govet issue
2023-05-05 12:19:47 +12:00
..
admin_check.go fix(code): replace calls to ioutil EE-4425 (#7878) 2022-10-17 15:29:12 -03:00
admin_init.go fix(restore/swarm): init primary endpoint after admin user is created (#8854) 2023-05-04 09:44:11 +12:00
handler.go fix(restore/swarm): init primary endpoint after admin user is created (#8854) 2023-05-04 09:44:11 +12:00
user_create.go chore(handlers): replace structs by functions for HTTP errors EE-4227 (#7664) 2022-09-14 20:42:39 -03:00
user_create_access_token.go chore(handlers): replace structs by functions for HTTP errors EE-4227 (#7664) 2022-09-14 20:42:39 -03:00
user_create_access_token_test.go chore(tests): use t.TempDir to create temporary test directory [EE-3700] (#7612) 2022-09-14 13:59:47 +08:00
user_delete.go chore(handlers): replace structs by functions for HTTP errors EE-4227 (#7664) 2022-09-14 20:42:39 -03:00
user_delete_test.go chore(tests): use t.TempDir to create temporary test directory [EE-3700] (#7612) 2022-09-14 13:59:47 +08:00
user_get_access_tokens.go chore(handlers): replace structs by functions for HTTP errors EE-4227 (#7664) 2022-09-14 20:42:39 -03:00
user_get_access_tokens_test.go chore(tests): use t.TempDir to create temporary test directory [EE-3700] (#7612) 2022-09-14 13:59:47 +08:00
user_inspect.go chore(handlers): replace structs by functions for HTTP errors EE-4227 (#7664) 2022-09-14 20:42:39 -03:00
user_list.go fix(access): support to list users or teams with specified endpoint [EE-1704] (#7610) 2022-09-16 14:45:14 +12:00
user_list_test.go fix(access): support to list users or teams with specified endpoint [EE-1704] (#7610) 2022-09-16 14:45:14 +12:00
user_memberships.go chore(handlers): replace structs by functions for HTTP errors EE-4227 (#7664) 2022-09-14 20:42:39 -03:00
user_remove_access_token.go fix(errors): wrap db errors, improve error handling (#8859) 2023-05-05 12:19:47 +12:00
user_remove_access_token_test.go chore(tests): use t.TempDir to create temporary test directory [EE-3700] (#7612) 2022-09-14 13:59:47 +08:00
user_update.go fix(upgrade): remove yellow upgrade banner EE-5141 (#8640) 2023-03-13 09:01:27 -03:00
user_update_password.go chore(code): reduce divergence with EE EE-4344 (#7748) 2022-09-28 14:56:32 -03:00
user_update_test.go chore(tests): use t.TempDir to create temporary test directory [EE-3700] (#7612) 2022-09-14 13:59:47 +08:00