[WikiERP] Help for access rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SYNERPGY Projects |
New
|
Medium
|
Vivek poddar |
Bug Description
Hi vivek,
I need your help for a personal project, named WikiERP.
You can find the code here on launchpad, but you can also log on my personal server, the application is on /opt/wikierp. Use the command openerp-wikierp for launching the server on perso.synerpgy.
In my module, I have an object "Features" which have a parent_id field, so we can have an arborescence.
The point is : I want that users can only modify part of the arborescence.
For example, let's assume I have the following tree :
Feature 1
--> Feature 1.1
--> Feature 1.1.1
--> Feature 1.1.2
-->Feature 1.2
--> Feature 1.2.1
--> Feature 1.2.2
In the user form, I have add the field feature_access_ids. If I add Feature 1.1 in this field for a user, then this user will be able to modify Feature 1.1, Feature 1.1.1 and Feature 1.1.2.
For the other features, he will have only read access.
I know I have to use access rule, but I can't make it working, please help me.
description: | updated |