- Mar 24, 2022
-
-
Andreas Ellewsen authored
-
- Mar 11, 2022
-
-
Andreas Ellewsen authored
Since we may not want to enable the identity check, it must be togglable. This commit adds environment variable REACT_APP_ENABLE_IGA_CHECK for toggling the check in the frontend, and django settings variable IGA_CHECK for toggling the check in the backend.
-
Jonas Braathen authored
-
Jonas Braathen authored
-
Jonas Braathen authored
Move serializers only used by gregui.
-
- Mar 08, 2022
-
-
Tore.Brede authored
-
- Mar 04, 2022
-
-
Andreas Ellewsen authored
Queries iga for an external id matching ours. If a match is found, the name of the owner is returend. Otherwise we return null. Uses the new iga module to fetch the data.
-
- Mar 02, 2022
-
-
Andreas Ellewsen authored
Was removed by mistake at some time in the past. Introduced a few tests to ensure that things work as expected. Resolves: GREG-223
-
Tore.Brede authored
-
- Feb 24, 2022
-
-
Andreas Ellewsen authored
Verify that the backend accepts unicode for text fields and that it survives to the database and back again
-
Andreas Ellewsen authored
Switched from caring about the output to only check the number of results since that's what we really care about
-
- Feb 22, 2022
-
-
Tore.Brede authored
-
- Feb 21, 2022
-
-
Andreas Ellewsen authored
-
- Feb 16, 2022
-
-
Tore.Brede authored
-
Tore.Brede authored
-
- Feb 15, 2022
-
-
Andreas Ellewsen authored
-
Andreas Ellewsen authored
If someone that already exists in greg follows an invite, we are kind enough to give the new role to the existing person. This introduced a security risk if the invitation was actually meant for someone else. Because of this situation, we introduce a security mechanism where we disable the invitationlink if the name of the existing person is too different from the name used in the invitation. Resolves: GREG-166
-
- Feb 09, 2022
-
-
If a sponsor verifies a nin that is already in use by an account in cerebrum, the guest will gain access to that account, which in turn allows the guest to change the password of that account. This makes it possible to abuse the guest service to steal the account of users. A feature that checks for this problem, and helps the sponsor make a decision on it, will be introduced in the near future. At that point nin verification can be enabled again. Resolves: GREG-202
-
- Jan 27, 2022
-
-
Sivert Kronen Hatteberg authored
Changed from "IDporten user" top "ID-porten user".. Assume the login is using ID-porten when only a nin is present. The claims in a normal feide login will never contain nin.
-
Andreas Ellewsen authored
This ensures that identity values created from values written in the frontend by guests are given a source value signifying so. Resolves: GREG-186
-
Andreas Ellewsen authored
-
- Jan 25, 2022
-
-
Andreas Ellewsen authored
-
Jonas Braathen authored
-
- Jan 24, 2022
-
-
Andreas Ellewsen authored
If the user logs in through the frontpage we now check if they have completed the registration process. If they have completed it halfway before, we find their info through the GregUserProfile of the user and redirect to the register page. If we dont find any profile connected to the user they are treated as anonymous users as before. Resolves: GREG-164
-
- Jan 21, 2022
-
-
Andreas Ellewsen authored
Resolves: GREG-173
-
- Jan 14, 2022
-
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
- Jan 12, 2022
-
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
- Jan 11, 2022
-
-
Tore.Brede authored
-
Stein Elgethun authored
Issue: greg-105
-
- Jan 10, 2022
-
-
Tore.Brede authored
-
- Jan 06, 2022
-
-
Tore.Brede authored
-
Andreas Ellewsen authored
The setup has five parts: - a new email template type - a new django-q task for notifying - a management command for scheduling the task periodically - a new settings variable NOTIFIER_LIMIT for controlling the number of days into the future the notifier script should use for end date of roles. - a new settings variable NOTIFIER_SCHEDULE_TYPE for controlling how often the notifier task should be scheduled when using the management command. Resolves: GREG-162
-