Skip to content
Snippets Groups Projects
  1. Mar 11, 2022
  2. Mar 08, 2022
  3. Mar 02, 2022
  4. Feb 09, 2022
    • Andreas Ellewsen's avatar
      Add flag to prevent nin verification in frontend · a6dd5745
      Andreas Ellewsen authored and Jonas Braathen's avatar Jonas Braathen committed
      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
      a6dd5745
  5. Jan 27, 2022
  6. Jan 12, 2022
  7. Dec 13, 2021
  8. Dec 10, 2021
    • Andreas Ellewsen's avatar
      Allow sponsors access to all roles on their units · 708d2fee
      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
      Verified
      708d2fee
    • Andreas Ellewsen's avatar
      Change rules for role dates · 96dd9bb4
      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
      Verified
      96dd9bb4
  9. Nov 29, 2021
  10. Nov 26, 2021
  11. Nov 23, 2021
  12. Nov 22, 2021
  13. Nov 19, 2021
  14. Nov 17, 2021
  15. Nov 16, 2021
  16. Nov 12, 2021
  17. Nov 09, 2021
  18. Nov 08, 2021
  19. Nov 03, 2021
    • Andreas Ellewsen's avatar
      Introduce OuIdentifiers · 460f2133
      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
      Verified
      460f2133
  20. Oct 27, 2021
  21. Oct 19, 2021
  22. Oct 18, 2021
  23. Oct 17, 2021
  24. Oct 13, 2021
  25. Oct 12, 2021
  26. Oct 07, 2021
  27. Oct 06, 2021
    • Andreas Ellewsen's avatar
      Add backend parts of guest registration · 467c08d3
      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.
      Verified
      467c08d3
Loading