set security on audittrail module
bzr revid: christophe@tinyerp.com-20081007141326-64yjery59ftkpkwm
This commit is contained in:
parent
8379882d99
commit
bc0fe1d265
|
@ -11,7 +11,10 @@
|
||||||
"init_xml" : [],
|
"init_xml" : [],
|
||||||
"description": "Allows the administrator to track every user operations on all objects of the system.",
|
"description": "Allows the administrator to track every user operations on all objects of the system.",
|
||||||
"category" : "Generic Modules/Others",
|
"category" : "Generic Modules/Others",
|
||||||
"update_xml" : ["audittrail_view.xml"],
|
"update_xml" : ["audittrail_view.xml",
|
||||||
|
"security/ir.model.access.csv",
|
||||||
|
"security/audittrail_security.xml",
|
||||||
|
],
|
||||||
"demo_xml" : ["audittrail_demo.xml"],
|
"demo_xml" : ["audittrail_demo.xml"],
|
||||||
"active" : False,
|
"active" : False,
|
||||||
"installable": True
|
"installable": True
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<openerp>
|
||||||
|
<data noupdate="0">
|
||||||
|
<!-- Set access to menu -->
|
||||||
|
<record id="menu_action_audittrail" model="ir.ui.menu">
|
||||||
|
<field eval="[(6,0,[ref('base.group_system')])]" name="groups_id"/>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
|
||||||
|
"access_audittrail_rule_group_system","audittrail rule system","model_audittrail_rule","base.group_system",1,1,1,1
|
||||||
|
"access_audittrail_log_group_system","audittrail log system","model_audittrail_log","base.group_system",1,1,1,1
|
||||||
|
"access_audittrail_logline_group_system","audittrail log line system","model_audittrail_log_line","base.group_system",1,1,1,1
|
|
Loading…
Reference in New Issue