Ticket #1005 (closed enhancement: fixed)

Opened 14 years ago

Last modified 14 years ago

forbid mix workspace and sections

Reported by: mihamina Owned by: fguillaume
Priority: P2 Milestone: CPS 3.3.7
Component: CPSCore Version: TRUNK
Severity: normal Keywords:
Cc: mihamina.rakotomandimby@…

Description

AS well as CPS rely on the separation of workspaces and sections, it should be a good idea to forbid the creation of workspaces under a section (or a subsection) and vice versa.
It is already not possible to create, but it is still possible to copy/paste.

Change History

comment:1 Changed 14 years ago by atchertchian

Maybe we should add a condition on workflow transitions allowing copy/paste of subobjects (in the container workflow) so that only content types allowed in the container could be pasted? Dont think UI is ready for that kind of behaviour, though.

comment:2 Changed 14 years ago by fguillaume

Paste should call manage_CPSpasteObjects which should do workflow checks (isBehaviorAllowedFor). Maybe there's a bug, but the framework is there.

comment:3 Changed 14 years ago by janguenot

Fixed in [28763].

We only allow the copy/paste for the types that are publishable from workspace to sections.

comment:4 Changed 14 years ago by janguenot

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.