-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
1,631 additions
and
1,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: 🐛 Bug | ||
about: 'Rapporter en bug' | ||
title: '' | ||
labels: 'kind/bug' | ||
assignees: '' | ||
--- | ||
|
||
# Beskrivelse av buggen | ||
|
||
<!--- Oppgi en kort beskrivelse av hva som har skjedd og hva som skulle ha skjedd istedenfor ---> | ||
|
||
## Steg for å reprodusere buggen | ||
|
||
<!--- Fortell oss hvordan vi kan gjenskape buggen ---> | ||
|
||
1. ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: 💎 Epic | ||
about: En leveranse | ||
title: 'Kort leveransenavn (f.eks: Systemtilgang)' | ||
labels: 'epic' | ||
assignees: '' | ||
--- | ||
|
||
# Beskrivelse | ||
|
||
<!--- Overordnet funksjonell beskrivelse av hva som skal leveres. | ||
Hvordan fungerer det i dag? Hvordan skal det fungere nå? Etc. ---> | ||
|
||
## Definisjoner | ||
|
||
`Definisjon` - Noe som definerer hva noe er eller betyr | ||
|
||
## In scope | ||
|
||
<!--- Det vi _må_ levere som del av leveransen. ---> | ||
|
||
## Out of scope (evt. senere leveranse) | ||
|
||
<!--- Det som _ikke_ er relevant for denne leveransen eller kan vente til senere. ---> | ||
|
||
```[tasklist] | ||
# Features | ||
- [ ] Legg til features her | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
name: ✨ Feature | ||
about: En konkret funksjon som inngår i et produkt/leveranse (tilsvarende en User Story) | ||
title: Epic navn | Feature navn | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
# Beskrivelse | ||
|
||
<!--- Beskriv problemet/behovet som skal løses ---> | ||
|
||
## Definisjoner | ||
|
||
<!--- Om nødvendig ---> | ||
|
||
Se #parentIssue | ||
|
||
# Avklaringer | ||
|
||
<!--- Er det noe som trenger avklaring? ---> | ||
|
||
# Akseptansekriterier | ||
|
||
<!--- Rams opp hva som skal til for at featuren skal anses som løst ---> | ||
|
||
# Bilder/Tegninger | ||
|
||
<!--- Eks: Arkitekturskisser eller figma-tegninger ---> | ||
|
||
# Oppgaver/Tasks | ||
|
||
<!--- Delt opp i fagrupper ---> | ||
|
||
```[tasklist] | ||
### Trusselmodellering | ||
- [ ] Åpner denne endringen for mulige nye trusler eller misbruk? | ||
``` | ||
|
||
```[tasklist] | ||
### UX | ||
- [ ] Add a draft title or issue reference here | ||
``` | ||
|
||
```[tasklist] | ||
### Frontend | ||
- [ ] Add a draft title or issue reference here | ||
``` | ||
|
||
```[tasklist] | ||
### Backend | ||
- [ ] Add a draft title or issue reference here | ||
``` | ||
|
||
```[tasklist] | ||
### Dokumentasjon | ||
- [ ] Add a draft title or issue reference here | ||
``` | ||
|
||
```[tasklist] | ||
### Test | ||
- [ ] Add a draft title or issue reference here | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: 🛠️ Task | ||
about: 'Et konkret stykke arbeid som skal gjøres' | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
# Beskrivelse | ||
|
||
<!--- Beskriv oppgaven som skal utføres ---> | ||
|
||
# To do's | ||
|
||
<!--- Liste av ting som inngår i utførelsen ---> | ||
|
||
- [ ] Eks: Ta ut av oppvaskmaskinen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
name: 🧪 Testplan | ||
about: 'Lag en ny testplan' | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
| **Delivery** | <EPIC/FEATURE/CASE> | | ||
|:-------------------------|:--------------------------------------------------| | ||
| **Roadmap** | | | ||
| **Involved teams** | @team-... | | ||
| **Due date** | xx.xx.xxxx | | ||
| **Test period** | xx.xx.xxxx - xx.xx.xxxx | | ||
|
||
|
||
## Dependencies | ||
|
||
| **Dependency** | **Owner** | **Status** | | ||
|:-----------------------------------|:---------------------------|:-----------| | ||
| | | | | ||
| | | | | ||
| | | | | ||
|
||
|
||
## Functional tests | ||
> ✅ OK, ⚠️ In progress, 🛑 Failed | ||
> During test period run tests covering business needs and requirements listed here | ||
| Scenario | Test data | Done by | Importance | Level | Status | Comment | | ||
|------------|-----------|-------------|------------|---------|-------|---------| | ||
| | | @... | High | | ✅ | | | ||
| | | @... | Low | | 🛑 | | | ||
|
||
|
||
## Non-functional tests | ||
|
||
- Performance tests: Link to runs and documentation when needed | ||
- Security tests: Link to documentation when needed | ||
|
||
|
||
## Clarifications | ||
|
||
| **Question** | **Answer** | **Date ** | | ||
|:---------------------------------|:-----------------------------|:-----------| | ||
| | | | | ||
| | | | | ||
|
||
## ⚠️ Out of scope | ||
> List discussed functionality out of scope or that might be relevant in a later release | ||
|
||
## :information_source: Useful links | ||
|
||
### Sketches | ||
### Architecture diagrams | ||
### Test environment | ||
### Testd ata | ||
### Link to milestone |
350 changes: 175 additions & 175 deletions
350
.yarn/releases/yarn-4.4.0.cjs → .yarn/releases/yarn-4.4.1.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
...cessManagement.UI/Altinn.AccessManagement.UI.Core/Models/Delegation/OrganizationApiSet.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
namespace Altinn.AccessManagement.UI.Core.Models | ||
{ | ||
/// <summary> | ||
/// Represents a set of APIs given to or recieved from an organization. | ||
/// </summary> | ||
public class OrganizationApiSet | ||
{ | ||
/// <summary> | ||
/// Gets or sets the ID of the organization. | ||
/// </summary> | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the organization. | ||
/// </summary> | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the organization number. | ||
/// </summary> | ||
public string OrgNumber { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a set of APIs given to or recieved from an organization | ||
/// </summary> | ||
public List<ApiListItem> ApiList { get; set; } = new List<ApiListItem>(); | ||
} | ||
|
||
/// <summary> | ||
/// Represents an API item. | ||
/// </summary> | ||
public class ApiListItem | ||
{ | ||
/// <summary> | ||
/// Gets or sets the ID of the API. | ||
/// </summary> | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the API. | ||
/// </summary> | ||
public string ApiName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the owner of the API. | ||
/// </summary> | ||
public string Owner { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the description of the API. | ||
/// </summary> | ||
public string Description { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the scopes associated with the API. | ||
/// </summary> | ||
public List<string> Scopes { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// Represents the type of delegation. | ||
/// </summary> | ||
public enum DelegationType | ||
{ | ||
/// <summary> | ||
/// Offered delegation type. | ||
/// </summary> | ||
Offered, | ||
|
||
/// <summary> | ||
/// Received delegation type. | ||
/// </summary> | ||
Received | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...agement.UI/Altinn.AccessManagement.UI.Core/Models/Delegation/RevokeApiDelegationOutput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Altinn.AccessManagement.UI.Core.Models.SingleRight; | ||
|
||
namespace Altinn.AccessManagement.UI.Core.Models | ||
{ | ||
/// <summary> | ||
/// Response model for the result of a api-delegation to a recipient. | ||
/// </summary> | ||
public class RevokeApiDelegationOutput | ||
{ | ||
/// <summary> | ||
/// Gets or sets the organization identifier. | ||
/// </summary> | ||
public string OrgNumber { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the API identifier. | ||
/// </summary> | ||
public string ApiId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether the operation was successful. | ||
/// </summary> | ||
public bool Success { get; set; } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...essManagement.UI/Altinn.AccessManagement.UI.Core/Models/Delegation/RevokeDelegationDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Altinn.AccessManagement.UI.Core.Models | ||
{ | ||
/// <summary> | ||
/// Represents the data transfer object for revoking an offered or received delegation. | ||
/// </summary> | ||
public class RevokeDelegationDTO | ||
{ | ||
/// <summary> | ||
/// Gets or sets the organization number. | ||
/// </summary> | ||
[Required] | ||
public string OrgNumber { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the API identifier. | ||
/// </summary> | ||
[Required] | ||
public string ApiId { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.