f8593776c0
[FEAT] Allow admins to manage relationships for all Persons
...
All Persons now have associated Users, meaning Users can be hijacked by admins to manage the relationships for the associated Person.
2023-03-12 15:39:03 +00:00
de11df1999
[FIX] Creating relationships with missing Person objects
...
When User had no associated Person object, or chosen person_pk did not correlate to an existing Person object, error 500 was thrown
2023-02-01 23:14:25 +00:00
James Graham
81598ea624
refactor: allow admin config of static questions
...
Text and visibility set in admin panel are now respected everywhere
2021-03-19 15:36:09 +00:00
James Graham
74fffb0cac
refactor: views to handled ended relationships
...
Add ending of organisation relationships
2021-03-19 12:41:36 +00:00
James Graham
42d95beb5a
feat: add view to end relationship
2021-03-19 12:00:32 +00:00
James Graham
583a49fdd3
fix: attr error if non-admin updates relationship
2021-03-11 12:59:57 +00:00
James Graham
667a51d1c7
refactor: remove duped code in relationship update
2021-03-10 12:41:07 +00:00
James Graham
75bc12de57
fix: use prev answers as initial for relationships
...
Resolves #65
2021-03-10 12:38:49 +00:00
James Graham
936a375992
feat: add relationships from person to org
...
Resolves #77
See #78
2021-03-02 09:03:10 +00:00
James Graham
4bbe4eac3a
refactor: simplify relationship create workflow
2021-02-01 09:47:53 +00:00
James Graham
a94db2713e
fix: Only allow users to create rels as source
...
There is now no field for users to define the source of a relationship
The source is always the person in the URL
And only that user or staff can access the form
2020-08-14 17:38:22 +01:00
James Graham
719b11e79e
fix: Fix broken relationship update form
...
Did not get values from fields correctly
Incorrectly marked answersets as expired immediately
2020-04-20 13:30:15 +01:00
James Graham
da57108e3e
refactor: Use custom CSV export view
...
Remove dependency on djangorestframework-csv
2020-03-27 17:00:37 +00:00
James Graham
2cdc7675c7
refactor: Split people.views into multiple modules
2020-03-27 15:15:18 +00:00