Delete and Inactivate User Story Summary
Delete Stories
User can delete a relationship between records. User must have write or delete permission for both record types to delete the relationship. (See also: User can create a relationship between records. User must have write or delete permission for both record types)
User can delete a record. User must have delete permission for the record type. If the record has active relationships, the relationships must be deleted before the record can be deleted.
User can delete an authority term. If the term is in use, the term must be removed from all active usage before it can be deleted.
System administrator can view deleted records and terms. Method TBD (perhaps via report? can the sysadmin reinstate?)
Administrator can delete a user. If the user has activity logged against his/her account, the account may be set to 'inactive', but not deleted.
Inactivate Stories
User can set the record status to 'inactive'. User must have write or delete permission for the record type. If the record has relationships the relationship does not have to be deleted for the record to be inactivated. A user may choose to include inactivated records in a search, but the search should default to only active records (i.e., records with a record status = active).
A user may not create new relationships for an inactivated record. The record must be re-activated before a new relationship can be created.
User can inactivate an authority term. If the term is in use, the usage does not have to be deleted for the term to be inactivated. A user may not use an inactive term in a record. The term must be re-activated before it can be used.
Administrator may set a user account to 'inactive'. User will not be able to login until account is reactivated.