Skip to content

Negative test - klientdelegering fra klient til person eller org gir 200 ok med delegering #512

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

Open
sneha-sirure opened this issue Mar 25, 2025 · 0 comments
Assignees
Labels
Backend This is a backend task kind/bug Something isn't working

Comments

@sneha-sirure
Copy link

sneha-sirure commented Mar 25, 2025

Description of the bug

Negative scenarioe hvor delegering av tilgangspakke fra klient org til person eller org gir 200 ok med gjennomført delegering som også viser i databasen og får det i GET endpunkt

Steps To Reproduce

Request
{{EnvUrl}}/accessmanagement/api/v1/internal/systemuserclientdelegation?party=20bf0992-b5ed-4dfa-942c-f7254892af9f

Requestbody :

`{
    "clientId": "34ED1522-09E9-4842-8B25-2C8111D32CF9",
    "agentId": "4FC5C70F-69A2-4FA6-A794-90B0A82D5D9F",
    "agentName": "Test SystemUserdelegering",
    "agentRole": "agent",
    "rolePackages": [
      {
        "roleIdentifier": "regnskapsforer",
        "packageUrn": "urn:altinn:accesspackage:regnskapsforer-uten-signeringsrettighet"
      }
    ]
  }`

Additional Information

No response

@sneha-sirure sneha-sirure added the kind/bug Something isn't working label Mar 25, 2025
@sneha-sirure sneha-sirure moved this to 👷In Progress in Team Tilgangsstyring & Kontroll Mar 25, 2025
@sneha-sirure sneha-sirure moved this from 👷In Progress to Sprint backlog in Team Tilgangsstyring & Kontroll Mar 25, 2025
@Siri-Anna Siri-Anna added the Backend This is a backend task label Apr 1, 2025
@Siri-Anna Siri-Anna moved this from Sprint backlog to 🔎Review in Team Tilgangsstyring & Kontroll Apr 4, 2025
@Siri-Anna Siri-Anna moved this from 🔎Review to Support & Drift in Team Tilgangsstyring & Kontroll Apr 4, 2025
@Thuen Thuen self-assigned this Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend This is a backend task kind/bug Something isn't working
Projects
Status: Support & Drift
Development

No branches or pull requests

3 participants