2017-05-24 15:25:34 +02:00
|
|
|
SilverStripe\Subsites\Model\Subsite:
|
2015-11-20 03:32:52 +01:00
|
|
|
main:
|
|
|
|
Title: 'Template'
|
|
|
|
subsite1:
|
|
|
|
Title: 'Subsite1 Template'
|
|
|
|
subsite2:
|
|
|
|
Title: 'Subsite2 Template'
|
|
|
|
domaintest1:
|
|
|
|
Title: 'Test 1'
|
|
|
|
domaintest2:
|
|
|
|
Title: 'Test 2'
|
|
|
|
domaintest3:
|
|
|
|
Title: 'Test 3'
|
2017-05-24 15:25:34 +02:00
|
|
|
SilverStripe\Subsites\Model\SubsiteDomain:
|
2015-11-20 03:32:52 +01:00
|
|
|
subsite1:
|
|
|
|
SubsiteID: =>Subsite.subsite1
|
|
|
|
Domain: 'subsite1.*'
|
|
|
|
subsite2:
|
|
|
|
SubsiteID: =>Subsite.subsite2
|
|
|
|
Domain: 'subsite2.*'
|
|
|
|
dt1a:
|
|
|
|
SubsiteID: =>Subsite.domaintest1
|
|
|
|
Domain: 'one.example.org'
|
|
|
|
IsPrimary: 1
|
|
|
|
dt1b:
|
|
|
|
SubsiteID: =>Subsite.domaintest1
|
|
|
|
Domain: 'one.*'
|
|
|
|
dt2a:
|
|
|
|
SubsiteID: =>Subsite.domaintest2
|
|
|
|
Domain: 'two.mysite.com'
|
|
|
|
IsPrimary: 1
|
|
|
|
dt2b:
|
|
|
|
SubsiteID: =>Subsite.domaintest2
|
|
|
|
Domain: '*.mysite.com'
|
|
|
|
dt3:
|
|
|
|
SubsiteID: =>Subsite.domaintest3
|
|
|
|
Domain: 'three.*'
|
|
|
|
IsPrimary: 1
|
2012-08-07 17:37:44 +02:00
|
|
|
Page:
|
2015-11-20 03:32:52 +01:00
|
|
|
mainSubsitePage:
|
|
|
|
Title: 'MainSubsitePage'
|
|
|
|
SubsiteID: 0
|
|
|
|
home:
|
|
|
|
Title: 'Home'
|
|
|
|
SubsiteID: =>Subsite.main
|
|
|
|
about:
|
|
|
|
Title: 'About'
|
|
|
|
SubsiteID: =>Subsite.main
|
|
|
|
linky:
|
|
|
|
Title: 'Linky'
|
|
|
|
SubsiteID: =>Subsite.main
|
|
|
|
staff:
|
|
|
|
Title: 'Staff'
|
|
|
|
ParentID: =>Page.about
|
|
|
|
SubsiteID: =>Subsite.main
|
|
|
|
contact:
|
|
|
|
Title: 'Contact Us'
|
|
|
|
SubsiteID: =>Subsite.main
|
|
|
|
importantpage:
|
|
|
|
Title: 'Important Page'
|
|
|
|
SubsiteID: =>Subsite.main
|
|
|
|
subsite1_home:
|
|
|
|
Title: 'Home (Subsite 1)'
|
|
|
|
SubsiteID: =>Subsite.subsite1
|
|
|
|
subsite1_contactus:
|
|
|
|
Title: 'Contact Us (Subsite 1)'
|
|
|
|
SubsiteID: =>Subsite.subsite1
|
|
|
|
subsite1_staff:
|
|
|
|
Title: 'Staff'
|
|
|
|
SubsiteID: =>Subsite.subsite1
|
|
|
|
subsite2_home:
|
|
|
|
Title: 'Home (Subsite 2)'
|
|
|
|
SubsiteID: =>Subsite.subsite2
|
|
|
|
subsite2_contactus:
|
|
|
|
Title: 'Contact Us (Subsite 2)'
|
|
|
|
SubsiteID: =>Subsite.subsite2
|
2010-03-01 03:56:19 +01:00
|
|
|
|
2016-09-22 16:38:29 +02:00
|
|
|
SilverStripe\Security\PermissionRoleCode:
|
2015-11-20 03:32:52 +01:00
|
|
|
roleCode1:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
2016-09-22 16:38:29 +02:00
|
|
|
SilverStripe\Security\PermissionRole:
|
2015-11-20 03:32:52 +01:00
|
|
|
role1:
|
|
|
|
Title: role1
|
2016-09-22 16:38:29 +02:00
|
|
|
Codes: =>SilverStripe\Security\PermissionRoleCode.roleCode1
|
|
|
|
SilverStripe\Security\Group:
|
2015-11-20 03:32:52 +01:00
|
|
|
admin:
|
|
|
|
Title: Admin
|
|
|
|
Code: admin
|
|
|
|
AccessAllSubsites: 1
|
|
|
|
editor:
|
|
|
|
Title: Editor
|
|
|
|
Code: editor
|
|
|
|
AccessAllSubsites: 1
|
|
|
|
subsite1_group:
|
|
|
|
Title: subsite1_group
|
|
|
|
Code: subsite1_group
|
|
|
|
AccessAllSubsites: 0
|
|
|
|
Subsites: =>Subsite.subsite1
|
|
|
|
subsite2_group:
|
|
|
|
Title: subsite2_group
|
|
|
|
Code: subsite2_group
|
|
|
|
AccessAllSubsites: 0
|
|
|
|
Subsites: =>Subsite.subsite2
|
|
|
|
subsite1admins:
|
|
|
|
Title: subsite1admins
|
|
|
|
Code: subsite1admins
|
|
|
|
AccessAllSubsites: 0
|
|
|
|
Subsites: =>Subsite.subsite1
|
|
|
|
allsubsitesauthors:
|
|
|
|
Title: allsubsitesauthors
|
|
|
|
Code: allsubsitesauthors
|
|
|
|
AccessAllSubsites: 1
|
|
|
|
subsite1_group_via_role:
|
|
|
|
Title: subsite1_group_via_role
|
|
|
|
Code: subsite1_group_via_role
|
|
|
|
AccessAllSubsites: 1
|
2016-09-22 16:38:29 +02:00
|
|
|
Roles: =>SilverStripe\Security\PermissionRole.role1
|
|
|
|
SilverStripe\Security\Permission:
|
2015-11-20 03:32:52 +01:00
|
|
|
admin:
|
|
|
|
Code: ADMIN
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.admin
|
2015-11-20 03:32:52 +01:00
|
|
|
editor1:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.editor
|
2015-11-20 03:32:52 +01:00
|
|
|
editor2:
|
|
|
|
Code: SITETREE_VIEW_ALL
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.editor
|
2015-11-20 03:32:52 +01:00
|
|
|
editor3:
|
|
|
|
Code: VIEW_DRAFT_CONTENT
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.editor
|
2015-11-20 03:32:52 +01:00
|
|
|
accesscmsmain1:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.subsite1_group
|
2015-11-20 03:32:52 +01:00
|
|
|
accesscmsmain2:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.subsite2_group
|
2015-11-20 03:32:52 +01:00
|
|
|
accesscmsmain3:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.subsite1admins
|
2015-11-20 03:32:52 +01:00
|
|
|
accesscmsmain4:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.allsubsitesauthors
|
2015-11-20 03:32:52 +01:00
|
|
|
securityaccess1:
|
|
|
|
Code: CMS_ACCESS_SecurityAdmin
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.subsite1_group
|
2015-11-20 03:32:52 +01:00
|
|
|
securityaccess2:
|
|
|
|
Code: CMS_ACCESS_SecurityAdmin
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.subsite2_group
|
2015-11-20 03:32:52 +01:00
|
|
|
adminsubsite1:
|
|
|
|
Code: ADMIN
|
2016-09-22 16:38:29 +02:00
|
|
|
GroupID: =>SilverStripe\Security\Group.subsite1admins
|
2010-03-21 23:32:22 +01:00
|
|
|
|
2016-09-22 16:38:29 +02:00
|
|
|
SilverStripe\Security\Member:
|
2015-11-20 03:32:52 +01:00
|
|
|
admin:
|
|
|
|
FirstName: Admin
|
|
|
|
Surname: User
|
|
|
|
Email: admin@test.com
|
|
|
|
Password: rangi
|
2016-09-22 16:38:29 +02:00
|
|
|
Groups: =>SilverStripe\Security\Group.admin
|
2015-11-20 03:32:52 +01:00
|
|
|
editor:
|
|
|
|
FirstName: Editor
|
|
|
|
Surname: User
|
|
|
|
Email: editor@test.com
|
|
|
|
Password: rangi
|
2016-09-22 16:38:29 +02:00
|
|
|
Groups: =>SilverStripe\Security\Group.editor
|
2015-11-20 03:32:52 +01:00
|
|
|
subsite1member:
|
|
|
|
Email: subsite1member@test.com
|
2016-09-22 16:38:29 +02:00
|
|
|
Groups: =>SilverStripe\Security\Group.subsite1_group
|
2015-11-20 03:32:52 +01:00
|
|
|
subsite2member:
|
|
|
|
Email: subsite2member@test.com
|
2016-09-22 16:38:29 +02:00
|
|
|
Groups: =>SilverStripe\Security\Group.subsite2_group
|
2015-11-20 03:32:52 +01:00
|
|
|
subsite1admin:
|
|
|
|
Email: subsite1admin@test.com
|
2016-09-22 16:38:29 +02:00
|
|
|
Groups: =>SilverStripe\Security\Group.subsite1admins
|
2015-11-20 03:32:52 +01:00
|
|
|
allsubsitesauthor:
|
|
|
|
Email: allsubsitesauthor@test.com
|
2016-09-22 16:38:29 +02:00
|
|
|
Groups: =>SilverStripe\Security\Group.allsubsitesauthors
|
2015-11-20 03:32:52 +01:00
|
|
|
subsite1member2:
|
|
|
|
Email: subsite1member2@test.com
|
2016-09-22 16:38:29 +02:00
|
|
|
Groups: =>SilverStripe\Security\Group.subsite1_group_via_role
|
2015-04-30 11:45:22 +02:00
|
|
|
|
2016-09-22 16:38:29 +02:00
|
|
|
SilverStripe\SiteConfig\SiteConfig:
|
2015-11-20 03:32:52 +01:00
|
|
|
config:
|
|
|
|
CanCreateTopLevelType: LoggedInUsers
|