mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 13:06:04 +02:00
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 (from r107867) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112701 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 |