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

Add non-deletable service user #1311

Merged
merged 8 commits into from
Nov 15, 2023
Merged

Add non-deletable service user #1311

merged 8 commits into from
Nov 15, 2023

Conversation

bcmmbaga
Copy link
Contributor

Describe your changes

Introduce a non-deletable service user, which can only be created by invoking the AccountManager's CreateUser method rather than through API calls. Additionally, ensure the exclusion of these users from the list of retrieved account service users in API calls.

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@bcmmbaga bcmmbaga merged commit e7d0631 into main Nov 15, 2023
13 checks passed
@bcmmbaga bcmmbaga deleted the add-integration-service-user branch November 15, 2023 15:22
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
* Add non-deletable flag for service users

* fix non deletable service user created as deletable

* Exclude non deletable service users in service users api response

* Fix broken tests

* Add test for non deletable service user

* Add handling for non-deletable service users in tests

* Remove non-deletable service users when fetching all users

* Ensure non-deletable users are filtered out when fetching all user data
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
* Add non-deletable flag for service users

* fix non deletable service user created as deletable

* Exclude non deletable service users in service users api response

* Fix broken tests

* Add test for non deletable service user

* Add handling for non-deletable service users in tests

* Remove non-deletable service users when fetching all users

* Ensure non-deletable users are filtered out when fetching all user data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants