-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs integration tests
web/src/pages/users/UsersOverview/components/UserEditButton/UserEditButton.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Jacek Chmielewski <jchmielewski@teonite.com>
… into add-disable-user
e2e/tests/enrollment.spec.ts
Outdated
await setPassword(page); | ||
// VPN | ||
await page.getByTestId('enrollment-next').click(); | ||
const deviceCreationMessage = page.waitForEvent('console'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we find a more reliable way of capturing this event? Perhaps check if api response status == 400?
e2e/tests/enrollment.spec.ts
Outdated
expect((await deviceCreationMessage).text()).toBe( | ||
'Failed to load resource: the server responded with a status of 400 (Bad Request)' | ||
); | ||
const userActivationMessage = page.waitForEvent('console'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we find a more reliable way of capturing this event? Perhaps check if api response status == 400?
… into add-disable-user
📖 Description
Adds the ability to disable a user.
Related PRs:
DefGuard/proxy#63
DefGuard/client#237
DefGuard/proto#19
🛠️ Dev Branch Merge Checklist:
Documentation
Testing
Deployment
🏚️ Main Branch Merge Checklist:
Testing
Documentation