Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

3

how to disable other user edit my calendar meeting ?

By
alancham
on 2/20/13, 6:21 AM 4,374 views

Hi,

How to set to Disable other user to edit my calendar meeting so that the user just can edit that user's meeting, but still can view others calendar meeting ?

Thank you.

alancham

1
arif
On 3/25/13, 8:16 AM

This can managed by Access Rules. See Access Rules at Settings / Security.

Hi Arif, Thank you for your information. I followed this link http://bazaar.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-586451-pna/revision/8728 ( information about add 'interval' and 'count' in line 1513 in base_calendar/base_calendar.py) so that i can set the Private in calendar. after add this, calendar will show 'Busy' for private meeting. then I go Settings / Security / Record Rules, search for "Hide Private Meetings", only checked the "Apply for Read" , but the Private Meeting still can Edit by other user.

alancham
on 3/28/13, 6:11 AM
0
Chetan Dhaduk
On 3/25/13, 9:35 AM

Hi alancham,

To Disable other user to edit your calendar meeting and only login user can edit his meeting for that you have to create record rules form Setting/Security/Record Rules.

Like that example :

<record id="calendar_meeting_personal_rule" model="ir.rule"> <field name="name">Calander Meeting</field> <field model="ir.model" name="model_id" ref="model_basic_calendar"/> <field name="domain_force">[('user_id','=',user.id)]</field> <field name="groups" eval=""/> </record>

In define record rules eval you have to define your group list.

Using this only login user can see and edit only that calendar meetings.

Thank You, Chetan Dhaduk(SerpentCS Pvt. Ltd.)

Hi, Chetan Dhaduk, Thank you for your information, but in version 7, i can't found where I can add the field Rules. can you please give more detail ? Thank you for your afford. alancham

alancham
on 3/28/13, 6:15 AM

From the user settings, add 'Technical Features' from 'Access Rights', then logout and login. Now you can see additional menus under Settings. See menu Security in Settings for Rules.

arif
on 3/28/13, 8:16 AM
0
Elmasry
On 5/15/13, 7:28 AM

i have the same problem ... but i want to make the creater and the attendees see it and only the creater who can Edit and delete this meeting then i used this steps to do that

1- Settings >> security >> Record Rule

2- create new record rule on Meeting Object and the domain is

['|',('partner_ids','in',user.partner_id.id),('user_id','=',user.id)]

and this solved my first problem and only creater and attendees only who can see the meeting.

But all can edit it i do my best to know how to limit attendees to edit this

if u knew please tell me

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/20/13, 6:21 AM
Seen: 4374 times
Last updated: 3/16/15, 8:10 AM