You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Sam Naef <sa...@gmail.com> on 2015/02/23 15:53:20 UTC

Second user has no moderator access

Hi Maxim and all,


We are creating rooms by invitation. And in the following set up we have a bug in which the second user has no moderator rights to use whiteboard by default.
If we create a static room (for a demo room) there is no problems and both users have moderator rights.



REST service name in the brackets.
==================
Step 1) create a new room in OM (setUserObjectAndGenerateRoomHashByURL)
step 2) create invitation hash for sender (getInvitationHash)
step 3) create invitation hash for receiver (getInvitationHash)
step 4) Room is alive long hours for both the users - refreshing is ok
step 5) Open chat window is not working (modifyRoomParameter) - discussed in separate email
step 6) whoever enter room first will gain the moderator access. But second user has no moderator rights.



Can you let us know how to give moderator access to second user?
Thanks very much,
Sam



Re: Second user has no moderator access

Posted by Maxim Solodovnik <so...@gmail.com>.
It seems you are creating non-moderated room
in this case "first comer is moderator"

to fix it you need:
1) create moderated room
2) generate hashes using
http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/UserWebService.html#setUserObjectAndGenerateRoomHash(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.Long,%20int,%20int)
with setting  becomeModeratorAsInt to be "1"



On Wed, Feb 25, 2015 at 6:45 PM, Sam Naef <sa...@gmail.com> wrote:

> Hi Maxim,
>
> I think my programmers just changed the function name in step1 so it is
> actually:
>
> Step 1) create a new room in OM
> (addRoomWithModerationQuestionsAudioTypeAndHideOptions)
> step 2) create invitation hash for sender (getInvitationHash)
> step 3) create invitation hash for receiver (getInvitationHash)
> step 4) Room is alive long hours for both the users - refreshing is ok
> step 5) Open chat window is not working (modifyRoomParameter) - discussed
> in separate email
> step 6) whoever enters first will gain the moderator access. But second
> user has no moderator rights.
>
>
> So the rooms work, and both users join, but user 2 have no moderator
> access via invites to the rooms
> Have you an idea how to fix?
>
> Thanks!
> Sam
>
>
> On 23 Feb 2015, at 15:01, Maxim Solodovnik <so...@gmail.com> wrote:
>
> > it is impossible to create room using
> setUserObjectAndGenerateRoomHashByURL
> > It is actually the way to create hash to enter
> >
> > On Mon, Feb 23, 2015 at 8:53 PM, Sam Naef <sa...@gmail.com> wrote:
> >
> >> Hi Maxim and all,
> >>
> >>
> >> We are creating rooms by invitation. And in the following set up we
> have a
> >> bug in which the second user has no moderator rights to use whiteboard
> by
> >> default.
> >> If we create a static room (for a demo room) there is no problems and
> both
> >> users have moderator rights.
> >>
> >>
> >>
> >> REST service name in the brackets.
> >> ==================
> >> Step 1) create a new room in OM (setUserObjectAndGenerateRoomHashByURL)
> >> step 2) create invitation hash for sender (getInvitationHash)
> >> step 3) create invitation hash for receiver (getInvitationHash)
> >> step 4) Room is alive long hours for both the users - refreshing is ok
> >> step 5) Open chat window is not working (modifyRoomParameter) -
> discussed
> >> in separate email
> >> step 6) whoever enter room first will gain the moderator access. But
> >> second user has no moderator rights.
> >>
> >>
> >>
> >> Can you let us know how to give moderator access to second user?
> >> Thanks very much,
> >> Sam
> >>
> >>
> >>
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Re: Second user has no moderator access

Posted by Sam Naef <sa...@gmail.com>.
Hi Maxim,

I think my programmers just changed the function name in step1 so it is actually:

Step 1) create a new room in OM (addRoomWithModerationQuestionsAudioTypeAndHideOptions)
step 2) create invitation hash for sender (getInvitationHash)
step 3) create invitation hash for receiver (getInvitationHash)
step 4) Room is alive long hours for both the users - refreshing is ok
step 5) Open chat window is not working (modifyRoomParameter) - discussed in separate email
step 6) whoever enters first will gain the moderator access. But second user has no moderator rights.


So the rooms work, and both users join, but user 2 have no moderator access via invites to the rooms
Have you an idea how to fix?

Thanks!
Sam


On 23 Feb 2015, at 15:01, Maxim Solodovnik <so...@gmail.com> wrote:

> it is impossible to create room using setUserObjectAndGenerateRoomHashByURL
> It is actually the way to create hash to enter
> 
> On Mon, Feb 23, 2015 at 8:53 PM, Sam Naef <sa...@gmail.com> wrote:
> 
>> Hi Maxim and all,
>> 
>> 
>> We are creating rooms by invitation. And in the following set up we have a
>> bug in which the second user has no moderator rights to use whiteboard by
>> default.
>> If we create a static room (for a demo room) there is no problems and both
>> users have moderator rights.
>> 
>> 
>> 
>> REST service name in the brackets.
>> ==================
>> Step 1) create a new room in OM (setUserObjectAndGenerateRoomHashByURL)
>> step 2) create invitation hash for sender (getInvitationHash)
>> step 3) create invitation hash for receiver (getInvitationHash)
>> step 4) Room is alive long hours for both the users - refreshing is ok
>> step 5) Open chat window is not working (modifyRoomParameter) - discussed
>> in separate email
>> step 6) whoever enter room first will gain the moderator access. But
>> second user has no moderator rights.
>> 
>> 
>> 
>> Can you let us know how to give moderator access to second user?
>> Thanks very much,
>> Sam
>> 
>> 
>> 
> 
> 
> -- 
> WBR
> Maxim aka solomax


Re: Second user has no moderator access

Posted by Maxim Solodovnik <so...@gmail.com>.
it is impossible to create room using setUserObjectAndGenerateRoomHashByURL
It is actually the way to create hash to enter

On Mon, Feb 23, 2015 at 8:53 PM, Sam Naef <sa...@gmail.com> wrote:

> Hi Maxim and all,
>
>
> We are creating rooms by invitation. And in the following set up we have a
> bug in which the second user has no moderator rights to use whiteboard by
> default.
> If we create a static room (for a demo room) there is no problems and both
> users have moderator rights.
>
>
>
> REST service name in the brackets.
> ==================
> Step 1) create a new room in OM (setUserObjectAndGenerateRoomHashByURL)
> step 2) create invitation hash for sender (getInvitationHash)
> step 3) create invitation hash for receiver (getInvitationHash)
> step 4) Room is alive long hours for both the users - refreshing is ok
> step 5) Open chat window is not working (modifyRoomParameter) - discussed
> in separate email
> step 6) whoever enter room first will gain the moderator access. But
> second user has no moderator rights.
>
>
>
> Can you let us know how to give moderator access to second user?
> Thanks very much,
> Sam
>
>
>


-- 
WBR
Maxim aka solomax