Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Standard documents disappear after reinstall and security workflow issues #12

Open
davidemoro opened this issue Sep 29, 2014 · 0 comments

Comments

@davidemoro
Copy link
Contributor

Hi,

I'm working on raptus.article and after installing or reinstalling it we obtain this result:

  • documents are no longer addable
  • files, links and images are no longer bound to any workflow (globally) with serious security implications

Sometimes it fits the user needs but sometimes it is not desiderable.
Anyway this kind of configuration involves global security settings and it should be declared in the readme file.

Probably this kind of configuration should be moved to an optional package.
What do you suggest?

Types

raptus/article/core/profiles/default/types/Document.xml:

<?xml version="1.0"?>
<object name="Document"
   meta_type="Factory-based Type Information with dynamic views"
   i18n:domain="plone" xmlns:i18n="http://xml.zope.org/namespaces/i18n">
 <property name="global_allow">False</property>
</object>

Workflows

Affected files:

  • raptus/article/links/profiles/default/workflows.xml
  • raptus/article/images/profiles/default/workflows.xml
  • raptus/article/files/profiles/default/workflows.xml

See for example:

<?xml version="1.0"?>
<object name="portal_workflow" meta_type="Plone Workflow Tool">
 <bindings>
  <type type_id="File">
   <bound-workflow workflow_id=""/>
  </type>
 </bindings>
</object>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant