-
Notifications
You must be signed in to change notification settings - Fork 1
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
EY-4753 Sette høyeste gradering basert på 3-parter ved opprett behand… #6861
Conversation
|
||
if (identerMedGradering.any { it.erGradert() }) { | ||
val hoyesteGradering = identerMedGradering.hentPrioritertGradering() | ||
sakService.oppdaterAdressebeskyttelse(sakId, hoyesteGradering) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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() }) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutt
…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