[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENMEETINGS-1633.
--------------------------------------------
    Resolution: Information Provided

JIRA is for issues, please use user@ mailing list for questions
http://openmeetings.apache.org/mail-lists.html

> Permission issues (Access Denied) in room access while entering using web 
> service
> ---------------------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-1633
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1633
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: SOAP/REST API
>    Affects Versions: 3.2.1
>         Environment: Windows 8
>            Reporter: amit
>            Assignee: Maxim Solodovnik
>              Labels: newbie
>         Attachments: error.png
>
>
> Dear Helpdesk,
> I am facing issue while accessing room by calling service. 
> I went through the following steps:
> 1. I created a user through open meetings portal register option.
> 2. Called service and get SID by calling below API:
> $.ajax({
>               method : "GET",
>               url : "http://locallhost:5080/openmeetings/services/user/login";,
>               data : {
>                       user : 'pkumar',
>                       pass : 'Mind1234'
>               },
>               dataType : "json",
>               error : function(jqXHR) {
>                       console.log(jqXHR.responseText);
>               },
>               success : function(result) {
>                       console.log(result.serviceResult.message);
>                       getSID(result.serviceResult.message);
>               }
>       });
> 2  Called another service by passing SID and got hash successfully:
> $.ajax({
>                               method : "POST",
>                               url : 
> "http://172.29.37.133:5080/openmeetings/services/user/hash?sid=";
>                                               + sid,
>                               data : {
>                                       user : JSON.stringify({
>                                               firstname : 'pkumar',
>                                               lastname : 'pkumar',
>                                               externalId : 'uid',
>                                               externalType : 'myCMS',
>                                               login : 'pkumar'
>                                       }),
>                                       options : JSON.stringify({
>                                               roomId : 1,
>                                               moderator : true,
>                                               showAudioVideoTest : true
>                                       })
>                               },
>                               dataType : "json",
>                               error : function(jqXHR) {
>                                       console.log(jqXHR.responseText);
>                               },
>                               success : function(result) {
>                                       window.location =  
> "http://localhost:5080/openmeetings/hash?secure="+ 
> result.serviceResult.message + "&;language=1";
>                               }
>                       })
>                       
> 3. When call service to enter in room it shows "Access Denied. You have no 
> rights to enter this room". 
> Although at the time of installing openmeetings we have to create a user and 
> when I try this user to enter in same room, it enters successfully but 
> creates one more entry in user table of database.
> It will be more appreciable if you please share some user manual/document 
> about how to use open meetings when accessing through API. 
> Please guide.
> Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to