mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
e57b7651ef
ENHANCEMENT Added a "strict-mode" for Member->inGroup() and Member->inGroups() to determine true membership to a group (without inheritance) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65125 467b73ca-7a2a-4603-9d3b-597d59a354a9
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
Group:
|
|
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
|
|
Member:
|
|
test:
|
|
FirstName: Test
|
|
Surname: User
|
|
Email: sam@silverstripe.com
|
|
Password: 1nitialPassword
|
|
PasswordExpiry: 2030-01-01
|
|
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 |