getInvitationHash is not designed to create hashes with moderation access
you need to use
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)
instead

On Fri, May 15, 2015 at 12:20 AM, Sam Naef <[email protected]> wrote:

> Hi Maxim,
>
> Yes we have set becomeModeratorAsInt=1 but it hasn't made any differences.
> We've also now implemented:
>
> 1.add 'currentClient.setIsMod(true)' around line 235 in MainService.java
> 2.add 'becomeModerator=true' at line 1146 in ScopeApplicationAdapter.java
>
> However Doug (sys admin guy) would then need to rebuild it (which would
> take a lot of time for how it is currently set up),
> and so will only be able to do it in a few days..
>
> So here is the scenario as best as I can give:
>
> Our steps:
> 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.
>
>
> Let me know if you would like to see the problem yourself via our site (
> www.iSKILLu.com), i would need your public IP
> or have a look at our code (i would need your public ssh) :)
>
> Thanks so much for your help - it's this bug and one other thing that
> stops us from beta launching so i'm so desperate to fix this (!) so can
> offer money.
> Hope your mountain walking was super!
> Best,
> Sam
>
>
>
>
> On 13 May 2015, at 17:07, Maxim Solodovnik <[email protected]> wrote:
>
> I would like to have scenario when becomeModeratorAsInt is not working
> could you please provide it?
>
> I'm sure ssh access would not help me here :(
>
> On Wed, May 13, 2015 at 7:42 PM, Sam Naef <[email protected]> wrote:
>
>> Hi Maxim,
>>
>> Yes we still have this problem!
>>
>> We haven't yet been able to implement yours and Keijis suggestion yet:
>> 1.add 'currentClient.setIsMod(true)' around line 235 in MainService.java
>> 2.add 'becomeModerator=true' at line 1146 in ScopeApplicationAdapter.java
>>
>> - As we are in the process of finding a new programming team as the
>> previous team got stuck on quite a few tasks..
>> Thus I've tried to locate these files using terminal but I can't find
>> them for some reason, most likely due to my v limited programming skills
>> however..
>>
>>
>> Are you still able to have a look by any chance if we give you ssh?
>> Thanks!
>> Sam
>>
>>
>>
>>
>> On 13 May 2015, at 07:02, Maxim Solodovnik <[email protected]> wrote:
>>
>> > Hello All,
>> >
>> > could you please clarify the use case since everything works for me as
>> > expected?
>> >
>> > My steps:
>> > 1) create the room using Moodle plugin
>> > 2) using OM admin make the room public
>> > 3) enter the room as OM admin (user entered in moderator)
>> > 4) enter the room as Moodle admin using secureHash
>> > Result: "Moodle admin" is moderator in the room
>> >
>> >
>> > On Sat, May 2, 2015 at 10:38 PM, Sam Naef <[email protected]> wrote:
>> >
>> >> ah yes! - thanks keiji!
>> >>
>> >> It seems the issue is with Chrome cam resolutions: 120x90 & 40x30
>> >> I'll prob set a larger cam res. as default in that case :)
>> >>
>> >> Thanks!
>> >> Sam
>> >>
>> >>
>> >>
>> >> On 30 Apr 2015, at 18:00, 小野圭二 <[email protected]> wrote:
>> >>
>> >>> I got the same on Chrome + Mac.
>> >>> Change the camera resolution at the device select window that shows at
>> >> the conference start, for example 120*90 to 80*60.
>> >>> They say it is from  mismatch between 32bit chrome and 64bit Flash on
>> Mac
>> >>>
>> >>> 2015-04-30 21:37 GMT+09:00 Sam Naef <[email protected]>:
>> >>> Thanks so much Maxim and Keiji!
>> >>> Will get back to you asap once it's implemented
>> >>>
>> >>> Enjoy your off-grid time Maxim also, I think you probably deserve it
>> :)
>> >>>
>> >>>
>> >>>
>> >>> Oh yes has anyone ever come across this issue before: ?
>> >>> The video not working when using chrome (it works via safari & firefox
>> >> however(!))
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Thanks so much,
>> >>> Sam
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On 30 Apr 2015, at 03:02, Maxim Solodovnik <[email protected]>
>> wrote:
>> >>>
>> >>>> I will check this in 2 weeks (will be on the mountain walking with no
>> >>>> internet access)
>> >>>> becomeModeratorAsInt should be sufficient .....
>> >>>>
>> >>>> On Thu, Apr 30, 2015 at 6:52 AM, 小野圭二 <[email protected]> wrote:
>> >>>>
>> >>>>> This is the default feature as you know.
>> >>>>> Just the first user have all roles as default, the seconds need to
>> be
>> >> put
>> >>>>> them by the first.
>> >>>>> If the seconds have Admin role, they have them as def.
>> >>>>>
>> >>>>> If you want to do as you said, need to do as below.
>> >>>>>
>> >>>>> 1.add 'currentClient.setIsMod(true)' around line 235 in
>> >> MainService.java
>> >>>>> 2.add 'becomeModerator=true' at line 1146 in
>> >> ScopeApplicationAdapter.java
>> >>>>>
>> >>>>> You can confirm them in ML that the subject is 'set user role as
>> >> default'.
>> >>>>> This ML was discussed between me and Maxim. I guess it was yours.
>> :^)
>> >>>>>
>> >>>>>
>> >>>>> 2015-04-30 4:44 GMT+09:00 Sam Naef <[email protected]>:
>> >>>>>
>> >>>>>> Hi all,
>> >>>>>>
>> >>>>>> Keep up the super work!
>> >>>>>> I'm wondering if anyone can help us with our final om integration…
>> we
>> >> are
>> >>>>>> so close to launching but need to get over this final hurdle!
>> >>>>>>
>> >>>>>>
>> >>>>>> ISSUE:
>> >>>>>> So when a second member enters an om room (via an invite link),
>> they
>> >> have
>> >>>>>> no privileges currently to edit the whiteboard etc (see attached
>> pic)
>> >>>>>> The first user does.
>> >>>>>>
>> >>>>>> We have set becomeModeratorAsInt to be 1
>> >>>>>>
>> >>>>>> Has anyone got any idea what could be the problem / can have a look
>> >> round
>> >>>>>> our code?
>> >>>>>> (I understand Maxim is away for several days so was hoping someone
>> >> else
>> >>>>>> might have an idea..)
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> Thanks so much!
>> >>>>>> Sam
>> >>>>>> iSKILLu founder
>> >>>>>>
>> >>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> WBR
>> >>>> Maxim aka solomax
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax

Reply via email to