[ 
http://opencast.jira.com/browse/MH-7402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26688#comment-26688
 ] 

Josh Holtzman commented on MH-7402:
-----------------------------------

SecurityService.getOrganization().getAnonymousRole() will give you the role for 
anonymous users in Java.  In general, pages should be calling:

http://localhost:8080/info/me.json

to get the current user's info, including any branding information for this 
organization.  This json also returns the organization identifier.  You can use 
that identifier to make a call to the organization endpoint:

http://localhost:8080/org/mh_default_org.json

This contains an "anonymousRole" property.  I realize that this is a bit 
complicated just to get the anonymous role, so we can iterate to make it 
simpler.

> Add functionality to access a series access control entries from the ui
> -----------------------------------------------------------------------
>
>                 Key: MH-7402
>                 URL: http://opencast.jira.com/browse/MH-7402
>             Project: Matterhorn Project
>          Issue Type: Sub-Task
>          Components: Administrative Tools
>    Affects Versions: 1.2
>            Reporter: Tobias Wunden
>            Assignee: Markus Moormann
>            Priority: Release Blocker
>             Fix For: 1.2
>
>
> The series rest endpoint has been extended to provide access to a series 
> access control entries. In order to show these in the ui and allow for 
> editing, a javascript library is needed.

--
This message is automatically generated by JIRA.
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]
_______________________________________________

Reply via email to