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

Ei sallita henkilökohtaisia mobiililaitteita muille kuin kunnallisten yksiköiden johtajille #6124

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

akheron
Copy link
Contributor

@akheron akheron commented Dec 13, 2024

  • Sallitaan ainoastaan kunnalisten yksiköiden johtajien lisätä henkilökohtaisia mobiililaitteita.
  • Poistetaan henkilökohtaiset mobiililaitteet kun johtajarooli poistetaan
  • Poistetaan migraatiossa kaikki henkilökohtaiset mobiililaitteet jotka rikkovat tätä sääntöä

@akheron akheron marked this pull request as ready for review December 13, 2024 13:11
@akheron akheron added the enhancement Uusi toiminnallisuus tai parannus label Dec 16, 2024
@akheron akheron force-pushed the mobile-device-rules branch from 5d44960 to 4f7de2c Compare December 16, 2024 06:22
@akheron akheron force-pushed the mobile-device-rules branch from 4f7de2c to 246b1a6 Compare December 16, 2024 07:16
!tx.hasRoleInAnyUnitWithProviderType(
job.employeeId,
UserRole.UNIT_SUPERVISOR,
ProviderType.MUNICIPAL,
Copy link
Contributor

Choose a reason for hiding this comment

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

should this also have setOf(ProviderType.MUNICIPAL, ProviderType.MUNICIPAL_SCHOOL)?

SELECT FROM daycare_acl a
JOIN daycare d ON d.id = a.daycare_id
WHERE
d.provider_type = 'MUNICIPAL' AND
Copy link
Contributor

Choose a reason for hiding this comment

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

and here?

@akheron akheron force-pushed the mobile-device-rules branch from 246b1a6 to a534e4f Compare December 16, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Uusi toiminnallisuus tai parannus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants