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

feat: add user disabling #640

Merged
merged 38 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8399572
add is_active column to the database
t-aleksander Jun 4, 2024
0c88ac4
use is_active field to check if the user is active
t-aleksander Jun 4, 2024
04e71a8
add backend logic
t-aleksander Jun 6, 2024
eaffb43
handle user disabling on the frontend
t-aleksander Jun 6, 2024
454448c
sqlx prepare
t-aleksander Jun 6, 2024
4fcc853
prevent disabled users from starting the enrollment
t-aleksander Jun 6, 2024
5d44f3d
set active by default
t-aleksander Jun 7, 2024
8bb70ed
prevent starting desktop configuration for disabled users
t-aleksander Jun 7, 2024
0a29287
logout disabled users
t-aleksander Jun 7, 2024
30637d2
Apply suggestions from code review
t-aleksander Jun 7, 2024
9b31580
Merge branch 'add-disable-user' of https://github.com/DefGuard/defgua…
t-aleksander Jun 7, 2024
b0ef46c
remove distinct on
t-aleksander Jun 7, 2024
56d04be
logout, then change status
t-aleksander Jun 7, 2024
34b50d1
update generated localization
t-aleksander Jun 7, 2024
df5acd6
add warnings
t-aleksander Jun 7, 2024
7587047
modify frontend handling of disabled users
t-aleksander Jun 7, 2024
179e243
sqlx prepare
t-aleksander Jun 10, 2024
73d0517
add tests
t-aleksander Jun 10, 2024
7240ce0
prevent from starting password reset on disabled user
t-aleksander Jun 10, 2024
29c238c
don't display password reset button if the user is disabled
t-aleksander Jun 10, 2024
315c089
add ldap todo
t-aleksander Jun 10, 2024
eb16f45
hide user status from himself
t-aleksander Jun 11, 2024
3a18586
prevent admin from disabling himself
t-aleksander Jun 11, 2024
eb85af4
fMerge branch 'add-disable-user' of https://github.com/DefGuard/defgu…
t-aleksander Jun 11, 2024
7cfbf09
add more tests
t-aleksander Jun 11, 2024
41370ac
properly check if the admin is going to disable himself
t-aleksander Jun 11, 2024
3f5f727
fix css
t-aleksander Jun 11, 2024
576aa44
add new line to migrations
t-aleksander Jun 11, 2024
2b5ddbf
rephrase
t-aleksander Jun 12, 2024
72f5930
don't panic
t-aleksander Jun 12, 2024
b7e1268
add more log messages
t-aleksander Jun 12, 2024
1020db0
make tests more reliable
t-aleksander Jun 12, 2024
255d97f
Merge branch 'add-disable-user' of https://github.com/DefGuard/defgua…
t-aleksander Jun 12, 2024
0688a6b
upddate protobufs
t-aleksander Jun 12, 2024
668214f
format
t-aleksander Jun 12, 2024
b740eae
Merge branch 'dev' into add-disable-user
t-aleksander Jun 12, 2024
75918ac
sqlx prepare
t-aleksander Jun 12, 2024
0d09a8e
fix test
t-aleksander Jun 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading