[
http://opencast.jira.com/browse/MH-9018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31411#comment-31411
]
Douglas Hall commented on MH-9018:
----------------------------------
I'm seeing this with the /search endpoints (/search/episode.json,
search/series.json). /series/series.json seems okay to me.
If I try to access /search/episode.json?sid=colgsas_2012_1_5085 in a browser
where I have not logged in to the Admin UI, I get:
{"search-results":{"searchTime":"0","total":"0","limit":"0","offset":"0","query":"(dc_is_part_of:colgsas_2012_1_5085)
AND oc_organization:mh_default_org AND (oc_acl_read:ROLE_ANONYMOUS) AND
oc_mediatype:AudioVisual AND -oc_deleted:[* TO *]"}}
If I then log in to the admin UI in the same browser and resend my
/search/episode.json?sid=colgsas_2012_1_5085 request, I get:
{"search-results":{"searchTime":"1","total":"2","limit":"2","offset":"0","query":"(dc_is_part_of:colgsas_2012_1_5085)
AND oc_organization:mh_default_org AND (oc_acl_read:ROLE_ADMIN OR
oc_acl_read:ROLE_ANONYMOUS OR oc_acl_read:ROLE_OAUTH_USER OR
oc_acl_read:ROLE_USER) AND oc_mediatype:AudioVisual AND -oc_deleted:[* TO
*]","result":[...
Series colgsas_2012_1_5085 is not viewable by the public, so this seems right.
The problem is if I try to access the same endpoint programmatically using
digest authentication, I get:
{
"search-results": {
"total": "0",
"limit": "0",
"query": "(dc_is_part_of:colgsas_2012_1_5085) AND
oc_organization:mh_default_org AND (oc_acl_read:ROLE_ANONYMOUS) AND
oc_mediatype:AudioVisual AND -oc_deleted:[* TO *]",
"offset": "0",
"searchTime": "0"
}
}
Seems like digest authentication is broken for /search endpoints. The /series
endpoints work fine with digest authentication. I haven't tried any others.
> Series endpoint (/series/series.xml) doesn't require authentication but
> returns no series when not logged in
> ------------------------------------------------------------------------------------------------------------
>
> Key: MH-9018
> URL: http://opencast.jira.com/browse/MH-9018
> Project: Matterhorn Project
> Issue Type: Bug
> Components: Architecture & Services
> Affects Versions: Trunk
> Reporter: Denis Meyer
> Assignee: Ruediger Rolf
> Priority: Critical
> Fix For: Trunk
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________