-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DNM] Ona Changes #49
base: master
Are you sure you want to change the base?
Conversation
2b1e752
to
248e00f
Compare
- Stops users from being able to modify OnaData controlled resources on Kobo home...
- Use Asset name as id_string - Add `published_by_formbuilder` to the deployment payload - Add JWTAuthentication class - Add Database router that stops writes and migrations to Kobocat
Signed-off-by: Mark Ekisa <[email protected]>
Signed-off-by: Mark Ekisa <[email protected]>
Signed-off-by: Kipchirchir Sigei <[email protected]>
- Add management command
61dd371
to
f31fabb
Compare
b72afc8
to
3410af7
Compare
232728b
to
2049257
Compare
ef03b4c
to
05dc735
Compare
Signed-off-by: Kipchirchir Sigei <[email protected]>
model = Token | ||
|
||
def authenticate(self, request): | ||
cookie_jwt = request.COOKIES.get(settings.KPI_COOKIE_NAME) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be possible to provide an alternative to cookie authentication? perhaps place the same value supplied in this cookie in an Authorization
header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use the ONADATA_KOBOCAT_AUTH
header
3ab8f4f
to
0752804
Compare
0752804
to
a9447f0
Compare
This reverts commit 9ffae88.
- Main issue was that the database table was not correctly updated
Signed-off-by: Kipchirchir Sigei <[email protected]>
This PR is just for viewing purposes; The branch attached to the PR is the new proposed main branch for the fork.
The branch is synced with the release
2.022.24b
on kobotoolbox/kpi