[WikiERP] Help for access rules

Bug #1006800 reported by YannickB (YOLO consulting)
6
This bug affects 1 person
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.fr:8069.

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.