* writes test for sharing using the API
* fixes bug on frontend form where an exception occured on generating a new API token if no token existed, yet
* adds permission constraint (default group) for using the api in general
* fixes default-group-only behaviour for sharing-API, so users can only add new users and not removing them, as long as they do not have any other group membership like registration or conservation office
* changes 'ksptoken' to 'Ksptoken' to match CGI standard for http header keys
This commit is contained in:
mpeltriaux committed 2022-01-27 14:48:42 +01:00
1 parent 6deff28389
commit 1b0ab1be07
8 files changed
+201 -6

No files matched your search

+1 -1
View File
@@ -5,4 +5,4 @@ Contact: michel.peltriaux@sgdnord.rlp.de
Created on: 21.01.22
"""
KSP_TOKEN_HEADER_IDENTIFIER = "ksptoken"
KSP_TOKEN_HEADER_IDENTIFIER = "Ksptoken"