mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-04 07:08:34 +02:00
Added values for new permission code 'VIEW_DRAFT_CONTENT' test
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@97898 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7adcc967ae
commit
654e583c7f
@ -1,3 +1,27 @@
|
|||||||
|
Group:
|
||||||
|
editors:
|
||||||
|
Title: Editors
|
||||||
|
admins:
|
||||||
|
Title: Administrators
|
||||||
|
|
||||||
|
Permission:
|
||||||
|
admins:
|
||||||
|
Code: VIEW_DRAFT_CONTENT
|
||||||
|
Group: =>Group.admins
|
||||||
|
editors:
|
||||||
|
Group: =>Group.editors
|
||||||
|
|
||||||
|
Member:
|
||||||
|
editor:
|
||||||
|
FirstName: Test
|
||||||
|
Surname: Editor
|
||||||
|
Groups: =>Group.editors
|
||||||
|
admin:
|
||||||
|
FirstName: Test
|
||||||
|
Surname: Administrator
|
||||||
|
Groups: =>Group.admins
|
||||||
|
|
||||||
|
|
||||||
ContentControllerTest_Page:
|
ContentControllerTest_Page:
|
||||||
root_page:
|
root_page:
|
||||||
Title: Home Page
|
Title: Home Page
|
||||||
@ -14,3 +38,9 @@ ContentControllerTest_Page:
|
|||||||
Title: Third Level Page Two
|
Title: Third Level Page Two
|
||||||
URLSegment: third-level-2
|
URLSegment: third-level-2
|
||||||
Parent: =>ContentControllerTest_Page.second_level_page
|
Parent: =>ContentControllerTest_Page.second_level_page
|
||||||
|
contact_page:
|
||||||
|
Title: Contact Page
|
||||||
|
URLSegment: contact
|
||||||
|
CanViewType: OnlyTheseUsers
|
||||||
|
EditorGroups: =>Group.admins
|
||||||
|
|
Loading…
Reference in New Issue
Block a user