Save booking is not working because of perms check #5

Open
opened 2025-02-14 17:25:35 +01:00 by pb · 1 comment
Owner

When connected with the admin account I could not save my booking, even after refreshing my auth token.

Booking saving worked again after replacing lib/widgets/forms/scheduler_forms.dart line 503 from

PermsService.getPerm(Perms.WORKFLOW_BOOKING) && PermsService.getPerm(Perms.WORKFLOW_EDIT) ? setState(() {  save(formKeys); }) : null;

to setState(() { save(formKeys); });

When connected with the admin account I could not save my booking, even after refreshing my auth token. Booking saving worked again after replacing `lib/widgets/forms/scheduler_forms.dart line 503` from ```dart PermsService.getPerm(Perms.WORKFLOW_BOOKING) && PermsService.getPerm(Perms.WORKFLOW_EDIT) ? setState(() { save(formKeys); }) : null; ``` to `setState(() { save(formKeys); });`
pb added the
Kind/Bug
Priority/High
labels 2025-02-14 17:25:52 +01:00
pb self-assigned this 2025-02-14 17:25:55 +01:00
mr was assigned by pb 2025-02-14 17:25:55 +01:00
Owner

Le problème a été résolu dans le commit #72ec01938e3602aa65433d7772e64c54b02501a5

Le problème a été résolu dans le commit #72ec01938e3602aa65433d7772e64c54b02501a5
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: core/oc-front#5
No description provided.