[FIX] project: restrict access to dashboard only to project users

Users not belonging to the project user group can not access the model
project.task.history.cumulative
Hide the dashboard for them

Fixes #8606
Closes #8607
This commit is contained in:
Martin Trigaux 2015-10-07 11:19:58 +02:00
parent 35b9ff7146
commit 096fe8a05c
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@
<action name="%(my_open_tasks_action)d" string="My Tasks"/>
</column>
<column>
<action name="%(action_view_task_history_cumulative)d" string="Open Tasks"/>
<action
groups="project.group_project_user"
name="%(action_view_task_history_cumulative)d"
string="Open Tasks"/>
</column>
</board>
</form>