Added "own cases" permission and access check

Works for when viewing a single case, not for view yet though.
This commit is contained in:
naomi
2018-07-09 13:21:52 +02:00
parent 2a31b1c8ce
commit 351bdb5afd
4 changed files with 33 additions and 4 deletions

View File

@ -78,11 +78,20 @@ edit case entities:
title: 'Edit Case entities'
view published case entities:
title: 'View published Case entities'
title: 'View all cases'
description: 'Even those which they user is not involved in.'
view unpublished case entities:
title: 'View unpublished Case entities'
view own cases:
title: 'View cases they are involved in'
description: "Allow to access cases in which the user's linked actor is an involved party."
edit own cases:
title: 'Edit cases they are involved in'
description: "Allow to edit cases in which the user's linked actor is an involved party."
view all case revisions:
title: 'View all Case revisions'