User Tools

Site Tools


use-cases:user-deletion
Use case name

#3: User deletion

Goal

Delete an existing user of the platform

Scope

Server (Software) and Nodes (Software)

Level

Summary

Pre-conditions
  1. The user to delete (objective) has to be registered
  2. The user that performs the deletion (actioner) has to be registered
  3. The actioner has to be a credential of higher level than the objective (this condition also prevents admins from deleting other admins)
    1. LEANDRO: I would allow admins to delete users, including other admins: simpler.
Primary actor

A registered actioner

Trigger

A registered user with some credentials level uses the server interface (or server API) to delete another user (or himself)

Main Success Scenario
  1. The actioner selects an objective and clicks on delete option
  2. As alternative: the actioner sends a valid request with all information to the Public server API
  3. The server verifies the actioner credentials
  4. The server verifies that the actioner current credentials are enough (policy: higher than the objective user to delete or the objective user is himself)
    1. LEANDRO: Policy: admin or himself
  5. The server verifies which slivers have been created (and are active or running) by the objective
  6. The server notifies to each sliver that it will be deleted by a user deletion
  7. In case the objective user is not the same as the actioner, the server notifies to the objective user that he/she will be deleted by another actioner request
  8. The server stops and removes all assigned slivers
  9. The server deletes the information (or disables it) about this objective user
Details

DAVIDE: Open topics are: What happens if the researcher is logged on a node? What about their slices/slivers? LEANDRO: no problem, all gone.

IVAN: Following the out-of-band access proposal, researcher users only exist in the node while the sliver exists there, so I don't see a problem in removing them from the server straight away, maybe with the exception of the slice owner (which could be devoid of all capabilities so it becomes harmless and removed when the slice finishes). The slice owner or an admin may have the option to force immediate removal of other researcher users from nodes for that sliver.

use-cases/user-deletion.txt · Last modified: 2012/04/15 20:47 by leandro