[ADD]: Added access rules for remaining objects in hr_evaluation and survey modules.
authoruco (OpenERP) <uco@tinyerp.co.in>
Fri, 5 Mar 2010 11:13:48 +0000 (16:43 +0530)
committeruco (OpenERP) <uco@tinyerp.co.in>
Fri, 5 Mar 2010 11:13:48 +0000 (16:43 +0530)
bzr revid: uco@tinyerp.co.in-20100305111348-v7f2smhx0yqdu295

addons/hr_evaluation/__terp__.py
addons/hr_evaluation/security/ir.model.access.csv
addons/survey/security/ir.model.access.csv

index aa462db..0a664f5 100644 (file)
@@ -30,7 +30,7 @@
     "init_xml" : [],
     "demo_xml" : ["hr_evaluation_demo.xml"],
     "update_xml" : [
-#                    "security/ir.model.access.csv",
+                    "security/ir.model.access.csv",
                     "hr_evaluation_view.xml",
                     "hr_evaluation_data.xml"],
     "active": False,
index 440bcfb..c996223 100644 (file)
@@ -1,9 +1,9 @@
 "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
 "access_hr_evaluation_evaluation","hr_evaluation.evaluation","model_hr_evaluation_evaluation",hr.group_hr_user,1,0,0,0
-"access_hr_evaluation_type","hr_evaluation.type","model_hr_evaluation_type",hr.group_hr_user,1,0,0,0
-"access_hr_evaluation_type_value","hr_evaluation.type.value","model_hr_evaluation_type_value",hr.group_hr_user,1,0,0,0
-"access_hr_evaluation_quote","hr_evaluation.quote","model_hr_evaluation_quote",hr.group_hr_user,1,0,0,0
 "access_hr_evaluation_evaluation_manager","hr_evaluation.evaluation","model_hr_evaluation_evaluation",hr.group_hr_manager,1,1,1,1
-"access_hr_evaluation_type_manager","hr_evaluation.type","model_hr_evaluation_type",hr.group_hr_manager,1,1,1,1
-"access_hr_evaluation_type_value_manager","hr_evaluation.type.value","model_hr_evaluation_type_value",hr.group_hr_manager,1,1,1,1
-"access_hr_evaluation_quote_manager","hr_evaluation.quote","model_hr_evaluation_quote",hr.group_hr_manager,1,1,1,1
\ No newline at end of file
+"access_hr_evaluation_plan","hr_evaluation.plan","model_hr_evaluation_evaluation",hr.group_hr_user,1,0,0,0
+"access_hr_evaluation_plan_manager","hr_evaluation.plan","model_hr_evaluation_plan",hr.group_hr_manager,1,1,1,1
+"access_hr_evaluation_plan_phase","hr_evaluation.plan.phase","model_hr_evaluation_plan_phase",hr.group_hr_user,1,0,0,0
+"access_hr_evaluation_plan_phase_manager","hr_evaluation.plan.phase","model_hr_evaluation_plan_phase",hr.group_hr_manager,1,1,1,1
+"access_hr_evaluation_interview","hr.evaluation.interview","model_hr_evaluation_interview",hr.group_hr_user,1,0,0,0
+"access_hr_evaluation_interview_manager","hr.evaluation.interview","model_hr_evaluation_interview",hr.group_hr_manager,1,1,1,1
index f493078..bcfe126 100644 (file)
@@ -1,4 +1,6 @@
 "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_survey_type","survey.type","model_survey_type","group_survey_manager",1,1,1,1
+"access_survey_type","survey.type","model_survey_type","group_survey_user",1,1,1,1
 "access_survey_manager","survey","model_survey","group_survey_manager",1,1,1,1
 "access_survey_user","survey","model_survey","group_survey_user",1,1,0,0
 "access_survey_page_manager","survey.page","model_survey_page","group_survey_manager",1,1,1,1
@@ -24,3 +26,6 @@
 "access_survey_tbl_column_heading","survey.tbl.column.heading","model_survey_tbl_column_heading","group_survey_user",1,1,1,1
 "access_survey_response_line","survey.response.line","model_survey_response_line","group_survey_manager",1,1,1,1
 "access_survey_response_line","survey.response.line","model_survey_response_line","group_survey_user",1,1,1,1
+"access_survey_print_answer","survey.print.answer","model_survey_print_answer","group_survey_manager",1,1,1,1
+"access_survey_print_answer","survey.print.answer","model_survey_print_answer","group_survey_user",1,1,1,1
+