Skip to content
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

feat: Add user types #768

Merged
merged 3 commits into from
Jun 5, 2024
Merged

feat: Add user types #768

merged 3 commits into from
Jun 5, 2024

Conversation

oskogstad
Copy link
Collaborator

@oskogstad oskogstad commented May 27, 2024

Description

This implements a new abstract lookup enum for user types in order to support legacy users/systemUsers
Middleware is added for validating the IUser to be of this new enum
Name lookup is refactored to support these different types
Migration created for the abstract lookup type

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

Documentation

  • Documentation is updated (either in docs-directory, Altinnpedia or a separate linked PR in altinn-studio-docs., if applicable)

@oskogstad oskogstad force-pushed the feat/add-user-types branch from 368849b to 738f2de Compare May 28, 2024 08:52
@oskogstad oskogstad marked this pull request as ready for review May 28, 2024 09:15
@oskogstad oskogstad requested a review from a team as a code owner May 28, 2024 09:15
@oskogstad oskogstad force-pushed the feat/add-user-types branch from d8bf2e5 to 50a3764 Compare May 30, 2024 09:56
@oskogstad oskogstad force-pushed the feat/add-user-types branch 2 times, most recently from bf768af to 6608991 Compare May 30, 2024 10:06
@oskogstad oskogstad force-pushed the feat/add-user-types branch from 56e91a1 to 657a0bf Compare June 5, 2024 08:49
Copy link

sonarqubecloud bot commented Jun 5, 2024

Quality Gate Passed Quality Gate passed

Issues
15 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.3% Duplication on New Code

See analysis details on SonarCloud

@oskogstad oskogstad merged commit b6fd439 into main Jun 5, 2024
14 checks passed
@oskogstad oskogstad deleted the feat/add-user-types branch June 5, 2024 12:43
oskogstad added a commit that referenced this pull request Jun 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.8.0](v1.7.1...v1.8.0)
(2024-06-12)


### Features

* Add support for external resource references in
authorizationAttributes
([#801](#801))
([1e674bd](1e674bd))
* Add user types
([#768](#768))
([b6fd439](b6fd439))
* Front channel embeds
([#792](#792))
([c3000bd](c3000bd))
* GUI actions without navigation
([#785](#785))
([f2d9136](f2d9136))
* Remove IsBackChannel concept from GUI Actions
([#819](#819))
([18101c1](18101c1))
* Rename IsDeleteAction to IsDeleteDialogAction
([#820](#820))
([18a1f6e](18a1f6e))
* **schema:** Rename MimeType to MediaType
([#813](#813))
([6490625](6490625))
* **schema:** undo setting performed by if not set
([#802](#802))
([c19f47a](c19f47a))


### Bug Fixes

* remove maskinporten aux from config
([#827](#827))
([2e4e81a](2e4e81a))
* **schema:** add package-lock file
([#804](#804))
([987dfa1](987dfa1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants