security cannot be set for a specific column of a table (object)

Asked by nima

Hello,
i am using openerp 6.0.2 and i have a real problem with access rights.we all have sales /user and sales /manger groups. the sales>manager can see all the leads but users can only see theirs.our crm group have to be able to see other peoples' leads too,so they can find the duplicates.so i config the rule to (1,'=',1) and now they can see all lead.now i want to set a restriction so that no one can change other peoples salesman but can change themselves.
this is a case ,that we should be able to set a rule for a specific column of a table,i think.in this case user_id column in crm_leads table.but i cannot find how that is possible in system.

if u had any idea please let me know.

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
nima
Solved:
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello Nima,

You have to manage this through groups and access rights.First you need to create separate group with different access rights permission. You can assign this group to particular field also from view definition.

You can take a reference from following link of doc for more detail:
http://doc.openerp.com/v6.0/book/8/8_20_Config/8_20_Config_accessRights.html#groups-and-users

Hope this will help you.

Thanks.

Revision history for this message
nima (0.5a) said :
#2

ok ,i solved this specific problem by editing view.now people in sales manager group can see (and change) this field but other people can't see,so can't edit .

but now we have other needs too.i want to set access right so that any user can only Edit his/her data,but still can see other peoples' too but cannot change them.

any idea how to solve this one?

Revision history for this message
nima (0.5a) said :
#3

this can be done with rules