-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix example content in backend-volto folder
- Loading branch information
Showing
22 changed files
with
872 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rolemap> | ||
<!-- This is needed for the System Block to work in the demo --> | ||
<permissions> | ||
|
||
<permission acquire="True" | ||
name="Plone Site Setup: Overview" | ||
> | ||
<role name="Anonymous" /> | ||
<role name="Member" /> | ||
<role name="Site Administrator" /> | ||
<role name="Manager" /> | ||
</permission> | ||
</permissions> | ||
</rolemap> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata> | ||
<version>1000</version> | ||
<dependencies> | ||
<dependency>profile-plone6.demo:default</dependency> | ||
<dependency>profile-plone.volto:demo</dependency> | ||
</dependencies> | ||
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
...one6/demo/setuphandlers/examplecontent/content/1e2e3225df9c4be6b00a1c4d944309be/data.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"@id": "/images/plone-foundation.png", | ||
"@type": "Image", | ||
"UID": "1e2e3225df9c4be6b00a1c4d944309be", | ||
"allow_discussion": null, | ||
"contributors": [], | ||
"created": "2024-11-11T19:44:04+00:00", | ||
"creators": [ | ||
"plone-6-demo-site" | ||
], | ||
"description": "", | ||
"effective": null, | ||
"exclude_from_nav": false, | ||
"expires": null, | ||
"exportimport.constrains": {}, | ||
"exportimport.conversation": [], | ||
"exportimport.versions": {}, | ||
"id": "plone-foundation.png", | ||
"image": { | ||
"blob_path": "1e2e3225df9c4be6b00a1c4d944309be/image/None", | ||
"content-type": "image/png", | ||
"filename": null, | ||
"height": 439, | ||
"size": 50737, | ||
"width": 2000 | ||
}, | ||
"is_folderish": false, | ||
"language": "##DEFAULT##", | ||
"layout": "image_view", | ||
"lock": {}, | ||
"modified": "2024-11-11T19:44:04+00:00", | ||
"parent": { | ||
"@id": "/images", | ||
"@type": "Document", | ||
"UID": "a646ca7995ae4a89ac7bbb80d3477fb6", | ||
"description": "Image bank.", | ||
"image_field": null, | ||
"image_scales": {}, | ||
"review_state": "published", | ||
"title": "Images", | ||
"type_title": "Page" | ||
}, | ||
"review_state": null, | ||
"rights": "", | ||
"subjects": [], | ||
"title": "Plone Foundation", | ||
"type_title": "Image", | ||
"version": "current", | ||
"workflow_history": {}, | ||
"working_copy": null, | ||
"working_copy_of": null | ||
} |
Binary file added
BIN
+49.5 KB
...ne6/demo/setuphandlers/examplecontent/content/1e2e3225df9c4be6b00a1c4d944309be/image/None
Binary file not shown.
111 changes: 111 additions & 0 deletions
111
backend-volto/src/plone6/demo/setuphandlers/examplecontent/content/__metadata__.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"__version__": "1.0.0", | ||
"_blob_files_": [ | ||
"1e2e3225df9c4be6b00a1c4d944309be/image/None" | ||
], | ||
"_data_files_": [ | ||
"plone_site_root/data.json", | ||
"a646ca7995ae4a89ac7bbb80d3477fb6/data.json", | ||
"1e2e3225df9c4be6b00a1c4d944309be/data.json" | ||
], | ||
"default_page": {}, | ||
"local_permissions": { | ||
"1e2e3225df9c4be6b00a1c4d944309be": {}, | ||
"a646ca7995ae4a89ac7bbb80d3477fb6": {}, | ||
"plone_site_root": { | ||
"Add portal member": { | ||
"acquire": false, | ||
"roles": [ | ||
"Manager", | ||
"Site Administrator", | ||
"Owner" | ||
] | ||
}, | ||
"Content rules: Manage rules": { | ||
"acquire": false, | ||
"roles": [ | ||
"Manager", | ||
"Site Administrator" | ||
] | ||
}, | ||
"Delete own comments": { | ||
"acquire": false, | ||
"roles": [ | ||
"Manager", | ||
"Site Administrator", | ||
"Reviewer", | ||
"Owner" | ||
] | ||
}, | ||
"Reply to item": { | ||
"acquire": false, | ||
"roles": [ | ||
"Authenticated" | ||
] | ||
}, | ||
"Set own password": { | ||
"acquire": false, | ||
"roles": [ | ||
"Authenticated", | ||
"Manager", | ||
"Site Administrator" | ||
] | ||
}, | ||
"Set own properties": { | ||
"acquire": false, | ||
"roles": [ | ||
"Authenticated", | ||
"Manager", | ||
"Site Administrator" | ||
] | ||
}, | ||
"Show Toolbar": { | ||
"acquire": false, | ||
"roles": [ | ||
"Authenticated" | ||
] | ||
}, | ||
"plone.resource: Export ZIP file": { | ||
"acquire": false, | ||
"roles": [ | ||
"Manager" | ||
] | ||
}, | ||
"plone.resourceeditor: Manage Sources": { | ||
"acquire": false, | ||
"roles": [ | ||
"Manager", | ||
"Site Administrator" | ||
] | ||
} | ||
} | ||
}, | ||
"local_roles": { | ||
"1e2e3225df9c4be6b00a1c4d944309be": { | ||
"local_roles": { | ||
"admin": [ | ||
"Owner" | ||
] | ||
} | ||
}, | ||
"a646ca7995ae4a89ac7bbb80d3477fb6": { | ||
"local_roles": { | ||
"admin": [ | ||
"Owner" | ||
] | ||
} | ||
}, | ||
"plone_site_root": { | ||
"local_roles": { | ||
"admin": [ | ||
"Owner" | ||
] | ||
} | ||
} | ||
}, | ||
"ordering": { | ||
"1e2e3225df9c4be6b00a1c4d944309be": 0, | ||
"a646ca7995ae4a89ac7bbb80d3477fb6": 42 | ||
}, | ||
"relations": [] | ||
} |
Oops, something went wrong.