Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5286 Widoki

Hello all,

I am trying to implement Project Management module in OpenERP 6.0.3 and have installed 'project' & 'project_longterm'.

I need to have a special kind of access rights in my system, described as follows:

  1. The user belonging to access group Project/Manager should be able to view all the projects, but shall be able to edit only own projects.

  2. The user belonging to access group Project/User should be able to view & edit only those projects for which he is a Project Manager.

  3. The user belonging to access group Project/Manager should be able to view all the phases, but shall be able to edit only those under own projects or for which he is a Responsible User.

  4. The user belonging to access group Project/User should be able to view & edit only those under own projects or for which he is a Responsible User.

  5. The user belonging to access group Project/Manager should be able to view all the tasks, but shall be able to edit only those under own projects or those under the phases for which he is a Responsible User.

  6. The user belonging to access group Project/User should be able to view all the tasks under own projects or those under the phases for which he is a Responsible User or those which are assigned to him. He shall be able to edit tasks under own projects or those under the phases for which he is a Responsible User.

I have been able to set the view rights correctly by setting rights in the security. But have not able to set the edit rights correctly.

Is this kind of access rights settings possible in OpenERP.

Awatar
Odrzuć
Najlepsza odpowiedź

I think what you want to do exists for example for the sale.order object. You have different ir.rules an one of them says:

['|',('user_id','=',user.id),('user_id','=',False)]

for users belonging to group "See own Leads"

So, on your project object, you should create 4 ir.rules group condition Can View Can edit manager own project True True manager other projects True False user own project True True user other projects False False

and same thing for your other objects.

Hope that helps.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
503
2
cze 25
2398
1
cze 25
863
3
maj 25
2394
2
lip 25
1395