mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
b9f9e74306
BUGFIX Fixed RestfulServerTest->testAuthenticatedGET() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64307 467b73ca-7a2a-4603-9d3b-597d59a354a9
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
RestfulServerTest_Comment:
|
|
comment1:
|
|
Name: Joe
|
|
Comment: This is a test comment
|
|
Member:
|
|
editor:
|
|
FirstName: Editor
|
|
Email: editor@test.com
|
|
Password: editor
|
|
user:
|
|
FirstName: User
|
|
Email: user@test.com
|
|
Password: user
|
|
Group:
|
|
editorgroup:
|
|
Title: Editors
|
|
Code: editors
|
|
Members: =>Member.editor
|
|
usergroup:
|
|
Title: Users
|
|
Code: users
|
|
Members: =>Member.user
|
|
Permission:
|
|
perm1:
|
|
Code: CREATE_Comment
|
|
Group: =>Group.usergroup
|
|
perm3:
|
|
Code: EDIT_Comment
|
|
Group: =>Group.editorgroup
|
|
perm4:
|
|
Code: DELETE_Comment
|
|
Group: =>Group.editorgroup
|
|
perm5:
|
|
Code: CREATE_Comment
|
|
Group: =>Group.editorgroup
|
|
perm6:
|
|
Code: VIEW_SecretThing
|
|
Group: =>Group.editorgroup
|
|
RestfulServerTest_Page:
|
|
page1:
|
|
Title: Testpage without API Access
|
|
RestfulServerTest_Author:
|
|
author1:
|
|
FirstName: Author 1
|
|
RestfulServerTest_AuthorRating:
|
|
rating1:
|
|
Rating: 3
|
|
WriteProtectedField: Dont overwrite me
|
|
SecretField: Dont look at me!
|
|
Author: =>RestfulServerTest_Author.author1
|
|
RestfulServerTest_SecretThing:
|
|
thing1:
|
|
Name: Unspeakable |