Hypertopic/LaSuli — Issue #19: Guest-owned viewpoints
Author: benel
Created: 2012-01-07 16:09:13+00:00
State: open
Labels: Fix

Viewpoints should never be owned by "guest":

```javascript
{
"_id":"67ca5e52a936fd8998a2bfc6cd85a24c",
"_rev":"2-68d1c849a39c49db82f5162e3b47a459",
"viewpoint_name":"argos2.hypertopic.org",
"users":["guest"],
"topics":{
"36b275af05d7480bb3aabdf1a09c5535":{"broader":[],"name":"No name"}
}
}
```

Argos logs reveals that the faulty payload may have been built with a default login and sent with a corrected one:

```
401: guest (78.251.55.58) PUT /67ca5e52a936fd8998a2bfc6cd85a24c HTTP/1.1 @ 01/Jan/2012:09:34:25 +0100
201: siqi.duan (78.251.55.58) PUT /67ca5e52a936fd8998a2bfc6cd85a24c HTTP/1.1 @ 01/Jan/2012:09:34:30 +0100
```

A fix should be to correct the query when the header is changed.