Ticket #326 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

Resources should be hidden, not deleted

Reported by: tarmo Owned by: gbalazs
Priority: major Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: 3h Time remaining: 0h
Time spent: 2.0h

Description

Delete functionality of resources should be removed (not just link, but the permission to do so from users). In its stead, the action "Hide" should be shown (to Owners), which will mark the resource (or the current version of the resource) hidden. This can be accomplished for example by changing the object's state to a different workflow state, so it's not seen in any queries or searches, but it can still be used if a user has a direct link to it. This will also help with potential spam/inappropriate content.

Change History

comment:1 Changed 13 years ago by gbalazs

  • Owner changed from anonymous to gbalazs
  • Status changed from new to assigned
  • Time planned set to 3h

comment:2 Changed 13 years ago by gbalazs

  • Status changed from assigned to closed
  • Time spent set to 2.0h
  • Resolution set to fixed
  • Time remaining set to 0h

(In [282]) closes #326 spent 2h Created the new workflow state: hidden also created the function that hides a content, and i removed the object_delete link, both from base_view.pt and portlet_material_actions.pt. In portlet_material_actions.pt created the new Hide macro

Note: See TracTickets for help on using tickets.