Merge branch 'master-helpdesk-bhumika' into 'master'
[FIX]: Fix issue for portal helpdesk issue access See merge request flectra-hq/flectra!130
This commit is contained in:
commit
700ea4819e
@ -18,6 +18,15 @@
|
|||||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="helpdesk_portal_user_rule" model="ir.rule">
|
||||||
|
<field name="name">Portal See Own Issues</field>
|
||||||
|
<field ref="model_helpdesk_ticket" name="model_id"/>
|
||||||
|
<field name="domain_force">
|
||||||
|
['|', ('user_id','=',user.id), ('partner_id', '=', user.partner_id.id)]
|
||||||
|
</field>
|
||||||
|
<field name="groups" eval="[(4, ref('base.group_portal'))]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
<record id="helpdesk_user_rule" model="ir.rule">
|
<record id="helpdesk_user_rule" model="ir.rule">
|
||||||
<field name="name">See Own Issues</field>
|
<field name="name">See Own Issues</field>
|
||||||
<field ref="model_helpdesk_ticket" name="model_id"/>
|
<field ref="model_helpdesk_ticket" name="model_id"/>
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_helpdesk_user,access_helpdesk_user,model_helpdesk_ticket,helpdesk_group_user,1,1,1,0
|
access_helpdesk_user,access_helpdesk_user,model_helpdesk_ticket,helpdesk_group_user,1,1,1,0
|
||||||
|
access_helpdesk_portal,access_helpdesk_portal,model_helpdesk_ticket,base.group_portal,1,0,0,0
|
||||||
access_helpdesk_manager,access_helpdesk_manager,model_helpdesk_ticket,helpdesk_group_manager,1,1,1,1
|
access_helpdesk_manager,access_helpdesk_manager,model_helpdesk_ticket,helpdesk_group_manager,1,1,1,1
|
||||||
access_helpdesk_team_user,access_helpdesk_team_user,model_helpdesk_team,helpdesk_group_user,1,0,0,0
|
access_helpdesk_team_user,access_helpdesk_team_user,model_helpdesk_team,helpdesk_group_user,1,0,0,0
|
||||||
|
access_helpdesk_team_portal,access_helpdesk_team_portal,model_helpdesk_team,base.group_portal,1,0,0,0
|
||||||
access_helpdesk_team_manager,access_helpdesk_team_manager,model_helpdesk_team,helpdesk_group_manager,1,1,1,1
|
access_helpdesk_team_manager,access_helpdesk_team_manager,model_helpdesk_team,helpdesk_group_manager,1,1,1,1
|
||||||
access_issue_type_user,access_issue_type_user,model_issue_type,helpdesk_group_user,1,0,0,0
|
access_issue_type_user,access_issue_type_user,model_issue_type,helpdesk_group_user,1,0,0,0
|
||||||
access_issue_type_any,access_issue_type_any,model_issue_type,,1,0,0,0
|
access_issue_type_any,access_issue_type_any,model_issue_type,,1,0,0,0
|
||||||
|
access_issue_type_portal,access_issue_type_portal,model_issue_type,base.group_portal,1,0,0,0
|
||||||
access_issue_type_manager,access_issue_type_manager,model_issue_type,helpdesk_group_manager,1,1,1,1
|
access_issue_type_manager,access_issue_type_manager,model_issue_type,helpdesk_group_manager,1,1,1,1
|
||||||
access_tag_user,access_tag_user,model_helpdesk_tag,helpdesk_group_user,1,0,0,0
|
access_tag_user,access_tag_user,model_helpdesk_tag,helpdesk_group_user,1,0,0,0
|
||||||
|
access_tag_portal,access_tag_portal,model_helpdesk_tag,base.group_portal,1,0,0,0
|
||||||
access_tag_manager,access_tag_manager,model_helpdesk_tag,helpdesk_group_manager,1,1,1,1
|
access_tag_manager,access_tag_manager,model_helpdesk_tag,helpdesk_group_manager,1,1,1,1
|
||||||
access_helpdesk_report,access_helpdesk_report,model_helpdesk_report,helpdesk_group_manager,1,0,0,0
|
access_helpdesk_report,access_helpdesk_report,model_helpdesk_report,helpdesk_group_manager,1,0,0,0
|
||||||
access_ir_rule,access_ir_rule,base.model_ir_rule,helpdesk_group_manager,1,0,0,0
|
access_ir_rule,access_ir_rule,base.model_ir_rule,helpdesk_group_manager,1,0,0,0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user