The level_id is currently only active for the naviglobal table. In the
table navimain the attribute has no where mapping

https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/app/org/openmeetings/app/persistence/beans/basic/Naviglobal.java

There was a problem with the openJPA annotations, I can remember
discussing that on their mailing list:
http://openjpa.208410.n2.nabble.com/Defining-Where-clause-on-OneToMany-Association-Why-is-there-no-Where-Annotation-td6994016.html

Sebastian

2012/2/24 Andre Bueno Lima <[email protected]>:
> Removing the entry of the table?
> You must be joking. So what's the purpose of access control in navimain?
>
> Thanks,
>
> André.
>
> 2012/2/24 [email protected] <[email protected]>
>
>> Yes,
>>
>>  well I think you only have the chance to either completely delete
>> this entry from the database or not.
>>
>> Sebastian
>>
>> 2012/2/24 Andre Bueno Lima <[email protected]>:
>> > Hi Sebastian,
>> >
>> >  I tried to disable the calendar by setting the switching level_id
>> > dashboardModuleCalendar = 2 in (table navimain), but without success.
>> > Is there any field to change?
>> >
>> > Thaks.
>> >
>> > André.
>> >
>> > 2012/2/21 [email protected] <[email protected]>
>> >
>> >> stop red5/openmeetings
>> >> edit the database table "mainnavi", with a SQL query similar to this
>> >> one:
>> >> UPDATE 'mainnavi' set level_id = 2 WHERE action LIKE
>> >> 'dashboardModuleCalendar'
>> >> start red5/openmeetings again
>> >>
>> >> Sebastian
>> >>
>> >>
>> >>
>> >> 2012/2/21 Mahmut TEKER <[email protected]>
>> >>>
>> >>> Hi,
>> >>>
>> >>>
>> >>>   I am not sure asked before but I could not find information to
>> >>> disable
>> >>> calendar for users. In my system LDAP logs people in as default user
>> >>> and it
>> >>> is ok for me but this default user can create event at in the calendar
>> >>> and
>> >>> they can even send invitation to this event. As a result I want only
>> >>> Moderators and Admins could create event and invite to the system. How
>> >>> can I
>> >>> do this? Thank you very much,
>> >>>
>> >>>
>> >>>  Best Regards,
>> >>>
>> >>>
>> >>> _Mahmut
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Sebastian Wagner
>> >> http://www.openmeetings.de
>> >> http://incubator.apache.org/openmeetings/
>> >> http://www.webbase-design.de
>> >> http://www.wagner-sebastian.com
>> >> [email protected]
>> >
>> >
>> >
>> >
>> > --
>> > Grato,
>> >
>> > André Bueno Lima
>>
>>
>>
>> --
>> Sebastian Wagner
>> http://www.openmeetings.de
>> http://incubator.apache.org/openmeetings/
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> [email protected]



-- 
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

Reply via email to