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

EY-4753 Sette høyeste gradering basert på 3-parter ved opprett behand… #6861

Merged

Conversation

sebassonav
Copy link
Contributor

@sebassonav sebassonav commented Jan 24, 2025

…ling.

Mangler 2 deler, der 1/2 er å gjøre det på hendelser som kommer inn og 3 er å vurdere å gjøre det på eksisterende saker/one time job

@sebassonav sebassonav requested a review from a team as a code owner January 24, 2025 14:26

if (identerMedGradering.any { it.erGradert() }) {
val hoyesteGradering = identerMedGradering.hentPrioritertGradering()
sakService.oppdaterAdressebeskyttelse(sakId, hoyesteGradering)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Denne trenger strengt talt kanskje ikke å være med her da en person med strengt_fortrolig/utland får alle familiemedlemmer markert, men siden det nok ikke gjøres for fortrolig er det nok greit å få med.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jeg tenker det er bra å være konsekvent og det virker tryggest.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

import no.nav.etterlatte.sak.PersonManglerSak
import no.nav.etterlatte.sak.SakService

class TilgangsServiceOppdaterer(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OppdaterTilgangService? ikke noe big deal


val identerMedGradering = alleIdenter.map { hentGraderingForIdent(it, sak) }

if (identerMedGradering.any { it.erGradert() }) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kunne denne evt. vært navngitt med adressebeskyttelse i metode f.eks. så det er lettere å koble det til kun adressebeskyttelse når man leser?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutt

@sebassonav sebassonav merged commit 3c91a96 into main Jan 24, 2025
113 checks passed
@sebassonav sebassonav deleted the feature/EY-4753-skjerme-hvis-relatert-person-eregenansatt branch January 24, 2025 15:29
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.

2 participants