silverstripe-cms/tests/php/Controllers/ContentControllerTest.yml

45 lines
1.3 KiB
YAML
Raw Permalink Normal View History

SilverStripe\Security\Group:
editors:
Title: Editors
admins:
Title: Administrators
SilverStripe\Security\Permission:
admins:
Code: VIEW_DRAFT_CONTENT
Group: =>SilverStripe\Security\Group.admins
editors:
Group: =>SilverStripe\Security\Group.editors
SilverStripe\Security\Member:
editor:
FirstName: Test
Surname: Editor
Groups: =>SilverStripe\Security\Group.editors
admin:
FirstName: Test
Surname: Administrator
Groups: =>SilverStripe\Security\Group.admins
2017-08-09 04:53:38 +02:00
SilverStripe\CMS\Tests\Controllers\ContentControllerTest_Page:
root_page:
Title: Home Page
URLSegment: home
second_level_page:
Title: Second Level Page
URLSegment: second-level
2017-08-09 04:53:38 +02:00
Parent: =>SilverStripe\CMS\Tests\Controllers\ContentControllerTest_Page.root_page
third_level_page:
Title: Third Level Page
URLSegment: third-level
2017-08-09 04:53:38 +02:00
Parent: =>SilverStripe\CMS\Tests\Controllers\ContentControllerTest_Page.second_level_page
third_level_page_2:
Title: Third Level Page Two
URLSegment: third-level-2
2017-08-09 04:53:38 +02:00
Parent: =>SilverStripe\CMS\Tests\Controllers\ContentControllerTest_Page.second_level_page
contact_page:
Title: Contact Page
URLSegment: contact
CanViewType: OnlyTheseUsers
EditorGroups: =>SilverStripe\Security\Group.admins