silverstripe-framework/tests/security/MemberTest.yml
Ingo Schommer 39b056024f APICHANGE: moved Group::addToGroupByName to $member->addToGroupByCode. (from r106217)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112528 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:00:48 +00:00

59 lines
1.5 KiB
YAML

Permission:
security-admin:
Code: CMS_ACCESS_SecurityAdmin
Group:
securityadminsgroup:
Title: securityadminsgroup
Code: securityadminsgroup
Permissions: =>Permission.security-admin
staffgroup:
Title: staffgroup
Code: staffgroup
managementgroup:
Title: managementgroup
Code: managementgroup
Parent: =>Group.staffgroup
accountinggroup:
Title: accountinggroup
Code: accountinggroup
Parent: =>Group.staffgroup
ceogroup:
Title: ceogroup
Code: ceogroup
Parent: =>Group.managementgroup
memberlessgroup:
Title: Memberless Group
code: memberless
Member:
test:
FirstName: Test
Surname: User
Email: sam@silverstripe.com
Password: 1nitialPassword
PasswordExpiry: 2030-01-01
Groups: =>Group.securityadminsgroup
expiredpassword:
FirstName: Test
Surname: User
Email: expired@silverstripe.com
Password: 1nitialPassword
PasswordExpiry: 2006-01-01
noexpiry:
FirstName: Test
Surname: User
Email: noexpiry@silverstripe.com
Password: 1nitialPassword
staffmember:
Email: staffmember@test.com
Groups: =>Group.staffgroup
managementmember:
Email: managementmember@test.com
Groups: =>Group.managementgroup
accountingmember:
Email: accountingmember@test.com
Groups: =>Group.accountinggroup
ceomember:
Email: ceomember@test.com
Groups: =>Group.ceogroup
grouplessmember:
FirstName: Groupless Member