diff --git a/src/collective/z3cform/rolefield/profiles/testing/types.xml b/src/collective/z3cform/rolefield/profiles/testing/types.xml new file mode 100644 index 0000000..573238e --- /dev/null +++ b/src/collective/z3cform/rolefield/profiles/testing/types.xml @@ -0,0 +1,5 @@ + + + Controls the available content types in your portal + + \ No newline at end of file diff --git a/src/collective/z3cform/rolefield/profiles/testing/types/testingtype.xml b/src/collective/z3cform/rolefield/profiles/testing/types/testingtype.xml new file mode 100644 index 0000000..dd3106f --- /dev/null +++ b/src/collective/z3cform/rolefield/profiles/testing/types/testingtype.xml @@ -0,0 +1,55 @@ + + + TestingType + None + string:${portal_url}/folder_icon.png + testingtype + string:${folder_url}/++add++testingtype + + view + True + True + + + + + False + view + + + + False + cmf.AddPortalContent + plone.dexterity.content.Container + + + + + + +<model xmlns="http://namespaces.plone.org/supermodel/schema"> + <schema> + <field name="testingField" type="collective.z3cform.rolefield.LocalRolesToPrincipals"> + <title>testingField</title> + <required>False</required> + <roles_to_assign>('Reader',)</roles_to_assign> + </field> + </schema> +</model> + + + + + + + + + + + +