mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
78ac0fe3d6
ENHANCEMENT Making $permissionCode argument optional for BasicAuth::requireLogin(). If not set the logic only checks for a valid account (but no group memberships) ENHANCEMENT Using SS_HTTPResponse_Exception instead of header()/die() in BasicAuth::requireLogin() to make it more testable git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@107867 467b73ca-7a2a-4603-9d3b-597d59a354a9
15 lines
313 B
YAML
15 lines
313 B
YAML
Group:
|
|
mygroup:
|
|
Code: mygroup
|
|
Member:
|
|
user-in-mygroup:
|
|
Email: user-in-mygroup@test.com
|
|
Password: test
|
|
Groups: =>Group.mygroup
|
|
user-without-groups:
|
|
Email: user-without-groups@test.com
|
|
Password: test
|
|
Permission:
|
|
mycode:
|
|
Code: MYCODE
|
|
Group: =>Group.mygroup |