Commit Graph

39 Commits

Author SHA1 Message Date
naomi
910350699d Added 'view label' access bypass to actors
Was therefore able to get rid of the "view volunteer involvement in cases" stuff which was complicated
2018-07-09 20:15:16 +02:00
naomi
c729750705 Case views are now filtered by user involvement
unless the user has the see all cases permission
2018-07-09 19:36:47 +02:00
naomi
351bdb5afd Added "own cases" permission and access check
Works for when viewing a single case, not for view yet though.
2018-07-09 13:21:52 +02:00
naomi
2a31b1c8ce added linked actor of logged in user to new case 2018-07-09 12:11:07 +02:00
naomi
7bf0f67a06 Added a bunch of config, apparently wasn't in git 2018-07-05 17:57:10 +02:00
naomi
8dc840a53d Made ALL of opencase_defaults config optional.
The idea is you can install it, and use as a basis to configure your own things and then if you uninstall it it shouldn't lose your stuff.
2018-07-05 17:11:32 +02:00
naomi
5863fb7faa moved some files around
trying to organise what was features into submodules
2018-07-05 12:24:14 +02:00
naomi
f4c3512501 straighforward bugfix 2018-06-29 14:51:12 +02:00
naomi
a0ab7282b8 Added bundle labels to cases & activities views
This involved creating access control handlers for cases and activities (also did one for actors for good measure) and regenerating the opencase_features_opencase_ui feature so as to add the "type" field to the views
2018-06-18 18:15:00 +02:00
naomi
12afa00df8 Added permission for configuring opencase bundles 2018-06-18 17:11:45 +02:00
naomi
fd1a0d5156 Allowed activity types are a property of case type 2018-06-13 16:29:21 +02:00
naomi
74b6f90c94 Entity relations working in all directions 2018-06-12 18:12:30 +02:00
naomi
7448048f2d Changed default value of Involved Parties to array 2018-06-12 14:11:35 +02:00
naomi
c261552cc1 Added private files setting to case entity 2018-05-28 15:11:06 +02:00
naomi
20ab150226 Add-case form counts as "case context" 2018-05-13 13:44:27 +02:00
naomi
85260daa0e typo 2018-05-11 14:43:42 +02:00
naomi
f2e7e8b6be Removed " see client involvement in cases" perm
It doesn't make sense - someone who can't see clients shouldn't see client cases at all.
2018-05-11 13:25:47 +02:00
naomi
b8e49fb9cb Added "time taken" base field to activity
Also removed case field from activity display. It is in the sidebar, no need to have it twice.
2018-05-11 13:19:28 +02:00
naomi
98d856303a minor bugfix 2018-05-11 11:55:26 +02:00
naomi
d8aaacec2d Added contact details to actor 2018-05-08 20:44:08 +02:00
naomi
e2f77bf301 case base field descriptions 2018-05-08 19:26:33 +02:00
naomi
b8bba0b332 tiny bugfix on bundle permissions 2018-05-08 16:10:00 +02:00
naomi
7dba72ef66 Added permissions for client and volunteers
Plus permission to see just their involvement in cases
2018-05-08 15:41:02 +02:00
naomi
80f42c7bf3 Added case list link to add-new-case page 2018-05-08 13:21:12 +02:00
naomi
f770659cef Tidied base fields 2018-05-07 19:54:30 +02:00
naomi
7dc3e5d563 Added "files" as base field on case 2018-05-07 15:04:01 +02:00
naomi
18d0303f54 Moved base fields around
Because you can't make it put them at the bottom, so I have given them all negative weights so they go at the top and the custom fields start at 0. User is at the top
2018-05-07 14:49:31 +02:00
naomi
c909a51c1c minor change to entity display 2018-05-03 14:11:04 +02:00
naomi
b89cfcc2ee Added link to case list, when viewing case
It relies on the referer, and isn't very good.
2018-04-30 18:30:43 +02:00
naomi
7cf4ee557b New activity gets its case from the url 2018-04-30 17:14:51 +02:00
naomi
3b7e8c9cbe When creating case, first actor is set from URL
And the contextual menu adds the query string
2018-04-30 15:45:34 +02:00
naomi
fc982f8376 Added actors field to case & and case to activity 2018-04-30 12:59:07 +02:00
naomi
9d8c6a34d9 Changed paths so non-admin paths are /opencase/* 2018-04-29 15:23:15 +02:00
naomi
469f2413ec Actor entity label now includes subtype 2018-04-29 14:54:28 +02:00
naomi
900ba263c7 Actor name field is now set to full name on save 2018-04-29 14:50:41 +02:00
naomi
76f61b16b7 Added first, middle and last name fields to actor 2018-04-29 14:44:52 +02:00
naomi
249003bf16 Made Actor, Activity and Case entities 2018-04-29 13:58:46 +02:00
naomi
398a6c71a3 Re-generated OpenCase Entities module 2018-04-29 13:52:36 +02:00
naomi
03846a27f7 Generated opencase and opencase_entities modules 2018-04-29 09:22:16 +02:00