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

Asynchron Technical User Management - Enhancement of Technical User Deletion #803

Open
7 of 14 tasks
jjeroch opened this issue Jul 17, 2024 · 3 comments
Open
7 of 14 tasks
Assignees
Labels
portal Feature/Bug for Portal component Prep-R24.12
Milestone

Comments

@jjeroch
Copy link

jjeroch commented Jul 17, 2024

Summary

Enhance the asynchronous technical user management system to support secure and effective functionality for deleting technical users. This will ensure that access is revoked when no longer needed and maintain a clean state of the system.

User Stories

User Story 1: Technical User Deletion

As a system administrator,
I want to be able to delete technical users from the system asynchronously,
So that I can ensure that access is revoked when it is no longer needed and maintain a clean state of the system.

Acceptance Criteria:

  1. The IT admin (and similar users with the same permissions) must be able to trigger the deletion process through a secure interface.
  2. The system must validate the user's permissions before allowing the deletion.
  3. The deletion process must be logged with a timestamp and the identity of the administrator.
  4. All associated data with the technical user must be either archived or securely deleted as per the data retention policy.
  5. The system must confirm the deletion to the administrator once completed.

Tasks

  • Design a secure workflow for administrators to request the deletion of technical users.
  • Implement permission checks and authorization for deletion requests.
  • Develop functionality to archive or delete data associated with the technical user.
  • Create a logging mechanism for the deletion process.
  • Test the deletion process end-to-end.
  • Update the administrator documentation with the new deletion process.

Test Cases

Test Case for User Story 1: Technical User Deletion

Test Case 1a: IT Admin Initiates Deletion (synchron tech user - test case already existing)

Objective: Verify that IT admins can initiate the deletion of a technical user through a secure interface.

Steps:

  1. Log in as an IT admin.
  2. Navigate to the technical user management section.
  3. Select a technical user to delete.
  4. Initiate the deletion process through the provided interface.

Expected Result:

  • The IT admin should be able to access the deletion interface and initiate the deletion process.

Test Case for User Story 1: Technical User Deletion

Test Case 1b: IT Admin Initiates Deletion (asynchron tech user - similar like 1a but with no direct deletion feedback)

Objective: Verify that IT admins can initiate the deletion of a technical user through a secure interface.

Steps:

  1. Log in as an IT admin.
  2. Navigate to the technical user management section.
  3. Select a technical user to delete.
  4. Initiate the deletion process through the provided interface.

Expected Result:

  • The IT admin should be able to access the deletion interface and initiate the deletion process.

Test Case 2: Permission Validation

Objective: Ensure that the system validates the user's permissions before allowing technical user deletion.

Steps:

  1. Log in as a user without IT admin permissions.
  2. Attempt to initiate the deletion of a technical user.

Expected Result:

  • The system should not allow the user to initiate the deletion process and should display an appropriate error message.

Test Case 3: Deletion Logging

Objective: Confirm that the deletion process is logged with a timestamp and the identity of the administrator.

Steps:

  1. Log in as an IT admin.
  2. Delete a technical user.
  3. Check the logs for the deletion record.

Expected Result:

  • The logs should contain an entry for the deletion with a timestamp and the identity of the admin.

Test Case 4: Data Archiving or Deletion

Objective: Verify that all data associated with the technical user is either archived or securely deleted.

Steps:

  1. Log in as an IT admin.
  2. Delete a technical user who has associated data.
  3. Verify whether the data is archived or deleted as per the data retention policy.

Expected Result:

  • The associated data should be either archived or securely deleted, with no residual data left in the system.

Test Case 5: Deletion Confirmation (only for the asynchron case needed; in the synchron case the user gets in 1a direct feedback)

Objective: Check that the system confirms the deletion to the administrator once completed.
Pre-Step: Test Case 1b

Steps:

  1. Log in as an IT admin.
  2. Open the technical user management page
  3. Validate successful deletion of the respective tech user

Expected Result:

  • The system should confirm the successful deletion to the admin.

Linked Tickets:

Frontend

Backend

to be checked - likely one of the backend endpoints need some additional enhancements as well, for the FE response message handling

@jjeroch jjeroch self-assigned this Jul 17, 2024
@jjeroch jjeroch added this to the 24.08 milestone Jul 17, 2024
@jjeroch jjeroch changed the title Technical User Technical User Asynchron (deletion, etc.) Jul 17, 2024
@jjeroch jjeroch modified the milestones: 24.08, 24.12 Jul 19, 2024
@jjeroch
Copy link
Author

jjeroch commented Jul 19, 2024

Decision: pushed the feature from 24.08. to 24.12 to ensure stability.
The US implementation are ongoing; not yet in a state to provide them for 24.08. release.

Milestone will be updated to 24.12. in open planning

@jjeroch jjeroch changed the title Technical User Asynchron (deletion, etc.) Asynchron Technical User Management - support of deletion, rotation & UI Jul 19, 2024
@jjeroch jjeroch modified the milestones: 24.12, 24.08 Jul 21, 2024
@jjeroch jjeroch added the portal Feature/Bug for Portal component label Jul 21, 2024
@jjeroch jjeroch changed the title Asynchron Technical User Management - support of deletion, rotation & UI Asynchron Technical User Management - Enhancement of Technical User Deletion Jul 21, 2024
@MaximilianHauer MaximilianHauer self-assigned this Jul 30, 2024
@evegufy
Copy link
Contributor

evegufy commented Jul 31, 2024

Committers:
@evegufy
@Phil91
@ntruchsess
@oyo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
portal Feature/Bug for Portal component Prep-R24.12
Projects
Status: USER READY
Status: Done
Development

No branches or pull requests

4 participants