2013-10-10 00:09:28 +02:00
|
|
|
#####################################################
|
|
|
|
# Mock date is set to 2013-10-01 20:00:00
|
|
|
|
#####################################################
|
2014-07-27 10:40:08 +02:00
|
|
|
Group:
|
|
|
|
admins:
|
|
|
|
Title: Administrators
|
|
|
|
editors:
|
|
|
|
Title: Editors
|
2015-03-06 03:52:07 +01:00
|
|
|
blog-users:
|
|
|
|
Title: Blog Users
|
|
|
|
Code: blog-users
|
2014-07-27 10:40:08 +02:00
|
|
|
|
|
|
|
Permission:
|
|
|
|
admins:
|
|
|
|
Code: ADMIN
|
|
|
|
Group: =>Group.admins
|
|
|
|
editors:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
|
|
|
Group: =>Group.editors
|
2015-03-06 03:52:07 +01:00
|
|
|
blog-users:
|
|
|
|
Code: CMS_ACCESS_CMSMain
|
|
|
|
Group: =>Group.blog-users
|
|
|
|
|
|
|
|
|
|
|
|
SiteConfig:
|
|
|
|
default:
|
|
|
|
CanEditType: 'OnlyTheseUsers'
|
|
|
|
CanCreateTopLevelType: 'OnlyTheseUsers'
|
|
|
|
EditorGroups: =>Group.admins,=>Group.editors
|
|
|
|
CreateTopLevelGroups: =>Group.admins,=>Group.editors
|
2014-07-27 10:40:08 +02:00
|
|
|
|
|
|
|
Member:
|
|
|
|
admin:
|
|
|
|
FirstName: Test
|
|
|
|
Surname: Administrator
|
|
|
|
Groups: =>Group.admins
|
|
|
|
editor:
|
|
|
|
FirstName: Test
|
|
|
|
Surname: Editor
|
|
|
|
Groups: =>Group.editors
|
2015-03-06 03:52:07 +01:00
|
|
|
blogeditor:
|
|
|
|
FirstName: Blog
|
|
|
|
Surname: Editor
|
|
|
|
Groups: =>Group.blog-users
|
|
|
|
writer:
|
|
|
|
FirstName: Blog
|
|
|
|
Surname: Writer
|
|
|
|
Groups: =>Group.blog-users
|
|
|
|
contributor:
|
|
|
|
FirstName: Blog
|
|
|
|
Surname: Contributor
|
|
|
|
Groups: =>Group.blog-users
|
|
|
|
visitor:
|
|
|
|
FirstName: Blog
|
|
|
|
Surname: Visitor
|
2013-10-10 00:09:28 +02:00
|
|
|
|
|
|
|
Blog:
|
|
|
|
firstblog:
|
|
|
|
Title: 'First Blog'
|
2014-07-27 10:40:08 +02:00
|
|
|
secondblog:
|
|
|
|
Title: 'Second Blog'
|
|
|
|
CanViewType: 'OnlyTheseUsers'
|
|
|
|
CanEditType: 'OnlyTheseUsers'
|
|
|
|
ViewerGroups: =>Group.admins
|
|
|
|
EditorGroups: =>Group.admins
|
|
|
|
thirdblog:
|
|
|
|
Title: 'Third Blog'
|
|
|
|
CanEditType: 'OnlyTheseUsers'
|
|
|
|
EditorGroups: =>Group.editors
|
2015-03-06 03:52:07 +01:00
|
|
|
fourthblog:
|
|
|
|
Title: 'Fourth Blog'
|
|
|
|
Editors: =>Member.blogeditor
|
|
|
|
Writers: =>Member.writer
|
|
|
|
Contributors: =>Member.contributor
|
2013-10-10 00:09:28 +02:00
|
|
|
|
|
|
|
BlogTag:
|
|
|
|
firsttag:
|
|
|
|
Title: 'First Tag'
|
2014-07-27 10:40:08 +02:00
|
|
|
URLSegment: 'first-tag'
|
2013-10-10 00:09:28 +02:00
|
|
|
Blog: =>Blog.firstblog
|
2014-07-27 10:40:08 +02:00
|
|
|
secondtag:
|
|
|
|
Title: 'Second Tag'
|
|
|
|
URLSegment: 'second-tag'
|
|
|
|
Blog: =>Blog.secondblog
|
|
|
|
thirdtag:
|
|
|
|
Title: 'Third Tag'
|
|
|
|
URLSegment: 'third-tag'
|
|
|
|
Blog: =>Blog.thirdblog
|
2013-10-10 00:09:28 +02:00
|
|
|
|
|
|
|
BlogCategory:
|
|
|
|
firstcategory:
|
|
|
|
Title: 'First Category'
|
|
|
|
URLSegment: 'first-category'
|
|
|
|
Blog: =>Blog.firstblog
|
2014-07-27 10:40:08 +02:00
|
|
|
secondcategory:
|
|
|
|
Title: 'Second Category'
|
|
|
|
URLSegment: 'second-category'
|
|
|
|
Blog: =>Blog.secondblog
|
|
|
|
thirdcategory:
|
|
|
|
Title: 'Third Category'
|
|
|
|
URLSegment: 'third-category'
|
|
|
|
Blog: =>Blog.thirdblog
|
2013-10-10 00:09:28 +02:00
|
|
|
|
|
|
|
BlogPost:
|
|
|
|
blogpost1:
|
|
|
|
Title: 'First post'
|
|
|
|
URLSegment: first-post
|
|
|
|
PublishDate: '2013-10-01 15:00:00'
|
|
|
|
Parent: =>Blog.firstblog
|
|
|
|
Tags: =>BlogTag.firsttag
|
2014-03-23 15:40:53 +01:00
|
|
|
Categories: =>BlogCategory.firstcategory
|
2013-10-10 00:09:28 +02:00
|
|
|
blogpost2:
|
|
|
|
Title: 'Second post'
|
|
|
|
URLSegment: second-post
|
|
|
|
PublishDate: '2013-09-01 15:00:00'
|
|
|
|
Parent: =>Blog.firstblog
|
|
|
|
blogpost3:
|
|
|
|
Title: 'Old post'
|
|
|
|
URLSegment: old-post
|
|
|
|
PublishDate: '2012-01-09 15:00:00'
|
|
|
|
Parent: =>Blog.firstblog
|
|
|
|
futurepost:
|
|
|
|
Title: 'Future Post'
|
|
|
|
URLSegment: future-post
|
|
|
|
PublishDate: '2015-01-01 00:00:00'
|
|
|
|
Tags: =>BlogTag.firsttag
|
2014-03-23 15:40:53 +01:00
|
|
|
Categories: =>BlogCategory.firstcategory
|
2015-03-06 03:52:07 +01:00
|
|
|
Parent: =>Blog.firstblog
|
2013-10-10 00:09:28 +02:00
|
|
|
futurepost2:
|
|
|
|
Title: 'Future Post 2'
|
|
|
|
URLSegment: future-post-2
|
|
|
|
PublishDate: '2013-11-01 00:00:00'
|
|
|
|
Tags: =>BlogTag.firsttag
|
2014-03-23 15:40:53 +01:00
|
|
|
Categories: =>BlogCategory.firstcategory
|
2015-03-06 03:52:07 +01:00
|
|
|
Parent: =>Blog.firstblog
|
|
|
|
post-a:
|
|
|
|
Title: 'One Post'
|
|
|
|
PublishDate: '2012-01-09 15:00:00'
|
|
|
|
Parent: =>Blog.fourthblog
|
|
|
|
Authors: =>Member.writer,=>Member.contributor
|
|
|
|
post-b:
|
|
|
|
Title: 'Second Post'
|
|
|
|
PublishDate: '2012-01-09 15:00:00'
|
|
|
|
Parent: =>Blog.fourthblog
|
|
|
|
Authors: =>Member.blogeditor
|
|
|
|
post-c:
|
|
|
|
Title: 'Third Post'
|
|
|
|
PublishDate: '2012-01-09 15:00:00'
|
|
|
|
Parent: =>Blog.fourthblog
|
|
|
|
Authors: =>Member.blogeditor,=>Member.writer,=>Member.contributor
|