test-auth: Use an 'anonymous' user for unauthenticated default
authorJan Schmidt <jan@centricular.com>
Mon, 16 Nov 2015 14:12:28 +0000 (01:12 +1100)
committerJan Schmidt <jan@centricular.com>
Mon, 16 Nov 2015 14:12:28 +0000 (01:12 +1100)
commita062b9c562edd7d3456b1be1f00be50b0b27085e
tree7410d242a117f3a7c8c5278eda8e2ea8ffeda416
parent75c3a3c095ffa5a2cdf437fb1989f58a42e9c39f
test-auth: Use an 'anonymous' user for unauthenticated default

There's a comment on one of the resources that 'user' and 'admin'
shouldn't even be able to see it, but they can if the default
token is 'admin2', since that gives them access anyway.
examples/test-auth.c