silverstripe-contentreview/tests/ContentReviewSettingsTest.yml

72 lines
1.9 KiB
YAML
Raw Normal View History

2014-02-24 01:38:16 +01:00
Permission:
cmsmain1:
Code: CMS_ACCESS_CMSMain
cmsmain2:
Code: CMS_ACCESS_CMSMain
setreviewdates:
Code: EDIT_CONTENT_REVIEW_FIELDS
workflowadmin1:
Code: IS_WORKFLOW_ADMIN
workflowadmin2:
Code: IS_WORKFLOW_ADMIN
Group:
webmastergroup:
Title: Edit existing pages
Code: editorgroup
Permissions: =>Permission.cmsmain1,=>Permission.workflowadmin1,=>Permission.setreviewdates
editorgroup:
Title: Edit existing pages
Code: editorgroup
Permissions: =>Permission.cmsmain1,=>Permission.workflowadmin1,=>Permission.setreviewdates
authorgroup:
Title: Author existing pages
Code: authorgroup
Permissions: =>Permission.cmsmain2,=>Permission.workflowadmin2
Member:
webmaster:
FirstName: Web
Surname: Master
Email: webmaster@example.com
Groups: =>Group.webmastergroup
author:
FirstName: Test
Surname: Author
Email: author@example.com
Groups: =>Group.authorgroup
editor:
FirstName: Test
Surname: Editor
Groups: =>Group.editorgroup
SiteConfig:
default:
ContentReviewUsers: =>Member.webmaster
ContentReviewGroups: =>Group.webmastergroup
ReviewPeriodDays: 30
Page:
custom:
Title: custom
ContentReviewType: Custom
NextReviewDate: 2010-02-01
ContentReviewUsers: =>Member.editor
ReviewPeriodDays: 10
ParentID: 0
2014-02-24 01:38:16 +01:00
disabled:
Title: disabled
2014-02-24 01:38:16 +01:00
ContentReviewType: Disabled
ParentID: 0
2014-02-24 01:38:16 +01:00
inherit:
Title: inherit
ContentReviewType: Inherit
ParentID: 0
2014-02-24 01:38:16 +01:00
page-1:
Title: page 1
2014-02-24 01:38:16 +01:00
ContentReviewType: Custom
ReviewPeriodDays: 5
NextReviewDate: 2010-02-01
ParentID: 0
2014-02-24 01:38:16 +01:00
page-1-1:
Title: page 1 1
2014-02-24 01:38:16 +01:00
ContentReviewType: Inherit
ParentID: =>Page.page-1