[
https://issues.apache.org/jira/browse/SHINDIG-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Chabot closed SHINDIG-1109.
---------------------------------
Resolution: Fixed
Thanks Jacky that's a great solution. The feature I like most of this is that
we get to keep our exceptions in getOwnerId & getViewerId and have that extra
safeguard that containers can never accidentally allow an anonymous user to
write any data.
Patch's been committed so closing issue again
> Supports anonymous viewer in PHP Shindig
> -----------------------------------------
>
> Key: SHINDIG-1109
> URL: https://issues.apache.org/jira/browse/SHINDIG-1109
> Project: Shindig
> Issue Type: New Feature
> Components: PHP
> Environment: N/A
> Reporter: Jacky Wang
> Assignee: Chris Chabot
> Fix For: 1.1-BETA1
>
> Attachments: anonymous_shindig.patch, anonymous_shindig_revised.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> for an anonymous viewer, Shindig people API will response a Person object
> with:
> id = -1
> isOwner = $token->isAnonymous() ? true : false
> isViewer = $token->isAnonymous() ? true : false
> name = anonymous_user
> displayName = Guest.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.