silverstripe-framework/tests/control/CMSProfileControllerTest.yml

39 lines
1017 B
YAML
Raw Normal View History

2016-06-23 01:37:22 +02:00
'SilverStripe\Security\Permission':
admin:
Code: ADMIN
cmsmain:
Code: CMS_ACCESS_LeftAndMain
leftandmain:
Code: CMS_ACCESS_CMSMain
test:
Code: CMS_ACCESS_TestController
2016-06-23 01:37:22 +02:00
'SilverStripe\Security\Group':
admins:
Title: Administrators
2016-06-23 01:37:22 +02:00
Permissions: '=>SilverStripe\Security\Permission.admin'
cmsusers:
Title: CMS Users
2016-06-23 01:37:22 +02:00
Permissions: '=>SilverStripe\Security\Permission.cmsmain, =>SilverStripe\Security\Permission.leftandmain'
test:
Title: Test group
2016-06-23 01:37:22 +02:00
Permissions: '=>SilverStripe\Security\Permission.test'
2016-06-23 01:37:22 +02:00
'SilverStripe\Security\Member':
admin:
FirstName: Admin
Email: admin@user.com
2016-06-23 01:37:22 +02:00
Groups: '=>SilverStripe\Security\Group.admins'
user1:
FirstName: Joe
Email: user1@user.com
2016-06-23 01:37:22 +02:00
Groups: '=>SilverStripe\Security\Group.cmsusers'
user2:
FirstName: Steve
Email: user2@user.com
2016-06-23 01:37:22 +02:00
Groups: '=>SilverStripe\Security\Group.cmsusers'
user3:
FirstName: Files
Email: user3@example.com
2016-06-23 01:37:22 +02:00
Groups: '=>SilverStripe\Security\Group.test'