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

Pääkäyttäjä voi ajastaa tulevia luvituksia etukäteen #6339

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

Joosakur
Copy link
Contributor

@Joosakur Joosakur commented Feb 4, 2025

No description provided.

@Joosakur Joosakur added the enhancement Uusi toiminnallisuus tai parannus label Feb 4, 2025
@Joosakur Joosakur force-pushed the scheduled-acl branch 2 times, most recently from 9728da0 to 3734ec3 Compare February 4, 2025 12:27
@Joosakur Joosakur changed the base branch from master to acl-end-dates February 4, 2025 12:28
@Joosakur Joosakur marked this pull request as ready for review February 4, 2025 12:50
Base automatically changed from acl-end-dates to master February 6, 2025 11:25
@@ -214,6 +231,10 @@ class EmployeeController(private val accessControl: AccessControl) {
)

tx.deleteEmployeeDaycareRoles(id, daycareId)
if (daycareId == null) {
tx.deleteScheduledDaycareAclRows(id)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Pitäiskö tässä poistaa daycare-kohtainen ajastusrivi, tapauksessa jossa daycareId ei ole null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Luulisin että tässä tapauksessa ei. Oikeastaan toi daycareId=null keissi ois varmaan selkeempi olla oma endpointtinsa koska se on se erillinen "poista käyttäjän kaikki luvitukset" nappi, joka intuitiivisesti tarkoittaa sekä nykyisiä että tulevia.

@Joosakur Joosakur merged commit 4c0ed94 into master Feb 6, 2025
29 checks passed
@Joosakur Joosakur deleted the scheduled-acl branch February 6, 2025 13:35
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