silverstripe-framework/tests/control/CMSProfileControllerTest.yml
2016-07-07 11:32:28 +12:00

39 lines
1017 B
YAML

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