fix hr security
authorChristophe Simonis <christophe@tinyerp.com>
Tue, 30 Sep 2008 14:23:50 +0000 (16:23 +0200)
committerChristophe Simonis <christophe@tinyerp.com>
Tue, 30 Sep 2008 14:23:50 +0000 (16:23 +0200)
bzr revid: christophe@tinyerp.com-20080930142350-o225bunnk5f80s65

addons/hr/__terp__.py
addons/hr/security/ir.model.access.csv

index fb8873e..02d7f2d 100644 (file)
@@ -47,8 +47,8 @@
         "hr_department_demo.xml",
     ],
     "update_xml" : [
-#        "security/hr_security.xml",
-#        "security/ir.model.access.csv",
+        "security/hr_security.xml",
+        "security/ir.model.access.csv",
         "hr_view.xml", 
         "hr_wizard.xml",
         "hr_department_view.xml",
index 507de13..743cbce 100644 (file)
@@ -3,8 +3,6 @@ access_hr_timesheet_group,hr.timesheet.group,model_hr_timesheet_group,hr.group_h
 access_hr_employee_category,hr.employee.category,model_hr_employee_category,hr.group_hr_user,1,0,0,0
 access_hr_employee,hr.employee,model_hr_employee,hr.group_hr_user,1,1,1,1
 access_hr_timesheet,hr.timesheet,model_hr_timesheet,hr.group_hr_user,1,1,1,1
-access_hr_action_reason,hr.action.reason,model_hr_action_reason,hr.group_hr_user,1,1,1,1
-access_hr_attendance,hr.attendance,model_hr_attendance,hr.group_hr_user,1,1,1,1
 access_hr_department,hr.department,model_hr_department,hr.group_hr_user,1,0,0,0
 access_hr_timesheet_group_manager,hr.timesheet.group.manager,model_hr_timesheet_group,hr.group_hr_manager,1,1,1,1
 access_hr_employee_category_manager,hr.employee.category.manager,model_hr_employee_category,hr.group_hr_manager,1,1,1,1