Changes between Initial Version and Version 1 of Ticket #126


Ignore:
Timestamp:
09/24/09 13:39:24 (5 years ago)
Author:
rgrp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #126

    • Property Priority changed from major to critical
    • Property Summary changed from Provide UI to delete a package to Change package state in the WUI (delete and undelete)
  • Ticket #126 – Description

    initial v1  
    1 i.e. make it non-active. 
    2 Check authz for this. 
    3 Action should be 'change-state' (rename 'delete'). 
     1As a Package Admin I want to change the state of the package. In particular I wish to delete and undelete it. 
     2 
     3(NB: this is quite separate from "purging" objects which is the term we shall use for irrevocable removal of an object from the domain model). 
     4 
     5  * Only Package Admins (and sysadmins) should be able to change state 
     6 
     7== Implementation Suggestions == 
     8 
     9  * 'delete' action should be renamed to 'change-state' (NB: this requires a db migration ...) 
     10  * Have new package formalchemy form (created via inheritance?) to incorporate state attribute. Suggest this is rendered as a dropdown (and may be simple object rendering of state, i.e. do NOT need to change it to a single name such 'active'). 
     11  * This form should then be used when the user satisfies is_authorized(..., model.Action.CHANGE_STATE) instead of the usual fieldset