- Mar 11, 2022
-
-
Jonas Braathen authored
-
Jonas Braathen authored
-
Jonas Braathen authored
Move serializers only used by gregui.
-
- Mar 08, 2022
-
-
Tore.Brede authored
-
- Mar 02, 2022
-
-
Tore.Brede authored
-
- 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
-
-
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 12, 2022
-
-
Tore.Brede authored
-
- Dec 13, 2021
-
-
Tore.Brede authored
-
- Dec 10, 2021
-
-
Andreas Ellewsen authored
It has been decided that a sponsor at a unit should have access to all roles at that unit. This includes all units accessible through hierarchical access. Resolves: GREG-150
-
Andreas Ellewsen authored
Dates can now be changed after they have started and ended. This means that there is no situation which needs disabling the input fields, and disabling has been removed. Start and end date can now be in the past. The following rules apply: - Start dates can be any date in the past, and no more into the future than the max days property of the role type. - End dates follow the same rules - End dates must be equal to or later than start date. Notification publishing has been reviewed to ensure duplicate notifications are not created when start or end date is today. Resolve: GREG-148
-
- Nov 29, 2021
-
-
Jonas Braathen authored
-
- Nov 26, 2021
-
-
Andreas Ellewsen authored
-
- Nov 23, 2021
-
-
Tore.Brede authored
-
- Nov 22, 2021
-
-
Tore.Brede authored
-
Tore.Brede authored
-
- Nov 19, 2021
-
-
Tore.Brede authored
-
- Nov 17, 2021
-
-
Andreas Ellewsen authored
Start dates can now be blank, check for correct sponsor has been moved to the more appropriate validate method and we now check that the role exists before doing anything in the serializer
-
- Nov 16, 2021
-
-
Tore.Brede authored
-
- Nov 12, 2021
-
-
Tore.Brede authored
-
Tore.Brede authored
-
- Nov 09, 2021
-
-
Tore.Brede authored
-
- Nov 08, 2021
-
-
Tore.Brede authored
-
Tore.Brede authored
-
- Nov 03, 2021
-
-
Andreas Ellewsen authored
To facilitate multiple identifiers of OUs we introduce the OuIdentifier model and removed the orgreg_id field from OrganizationalUnit. All current orgreg_ids are recreated as OuIdentifiers with name 'orgreg_id' and source 'orgreg'. Both values are configurable in the base settings file in the gregsite app. Note that changing this value after migration will require manual work changing all OuIdentifiers already created before the next run of the orgreg_import management command since that assumes all current orgreg identifiers uses these values. All endpoints that previously exposed the orgreg_id field now exposes an identifiers field with a list of OuIdentifiers connected to that model with fields id, name, source, and value. Resolves: GREG-88
-
- Oct 27, 2021
-
-
Andreas Ellewsen authored
Code for guest routes moved to their own folder so that we don't need multiple api calls. Serializer class for roles has been simplified with methods for validation of each field and a separate one used in invites without requiring the person field. Resolves: GREG-61
-
Andreas Ellewsen authored
-
- Oct 19, 2021
-
-
Tore.Brede authored
-
Andreas Ellewsen authored
Allows changes to start- and end date for guest roles. A new endpoint has been added to the ui api for doing PATCH request to support this. The max days of each role type is respected. Resolves: GREG-83
-
Tore.Brede authored
-
- Oct 18, 2021
-
-
Tore.Brede authored
-
- Oct 17, 2021
-
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
- Oct 13, 2021
-
-
Jonas Braathen authored
-
Jonas Braathen authored
-
- Oct 12, 2021
-
-
Jonas Braathen authored
Remove the 'email' and 'mobile_phone' fields on Person and use identities to represent this data instead. - Migrate data on existing Person objects to Identity objects - Make the 'is verified' logic only accept certain ID types - Sync the Person.is_verified and API 'verified' filter logic
-
- Oct 07, 2021
-
-
Tore.Brede authored
-
- Oct 06, 2021
-
-
Andreas Ellewsen authored
- Introduces the Invitation and InvitationLink models for keeping track of guest invitations and the links connected to them. - Adds a post endpoint accessible by sponsors to create invitations for guests. - Adds a get endpoint for the guests to review their invitation information. - Adds a post endpoint for the guests to confirm their invitation with updated mobile_phone number if they want. - Removes token field from Person since it is not used.
-