silverstripe-cms/tests/CMSMainTest.yml

81 lines
1.9 KiB
YAML
Raw Normal View History

Page:
page1:
Title: Page 1
page2:
Title: Page 2
page3:
Title: Page 3
page31:
Title: Page 3.1
Parent: =>Page.page3
page32:
Title: Page 3.2
Parent: =>Page.page3
page4:
Title: Page 4
home:
Title: Home
URLSegment: home
Group:
admin:
Title: Administrators
empty:
Title: Empty Group
assetsonly:
Title: assetsonly
allcmssections:
Title: allcmssections
rooteditusers:
Title: rooteditusers
Member:
admin:
Email: admin@example.com
Password: ZXXlkwecxz2390232233
Groups: =>Group.admin
assetsonlyuser:
Email: assetsonlyuser@test.com
Groups: =>Group.assetsonly
allcmssectionsuser:
Email: allcmssectionsuser@test.com
Groups: =>Group.allcmssections
rootedituser:
Email: rootedituser@test.com
Groups: =>Group.rooteditusers
Permission:
admin:
Code: ADMIN
GroupID: =>Group.admin
assetsonly:
Code: CMS_ACCESS_AssetAdmin
GroupID: =>Group.assetsonly
allcmssections:
Code: CMS_ACCESS_LeftAndMain
GroupID: =>Group.allcmssections
allcmssections2:
Code: CMS_ACCESS_LeftAndMain
GroupID: =>Group.rooteditusers
SiteConfig:
siteconfig1:
EditorGroups: =>Group.rooteditusers
CanCreateTopLevelType: 'OnlyTheseUsers'
SiteConfig_CreateTopLevelGroups:
createtoplevelgroups1:
siteconfigid: 1
GroupID: =>Group.rooteditusers
PageComment:
Comment1:
ID: 8
Name: Person
Comment: Very cool page
NeedsModeration: 1
EmailAddress: person@server.com
Comment2:
Name: Someone
Comment: I am a person
NeedsModeration: 0
EmailAddress: someone@somewhere.com
Comment3:
Name: Me
Comment: I like this comment
NeedsModeration: 1
EmailAddress: me@test.co.nz