Open Maddi02 opened 1 week ago
As mentioned in the meeting, with the introduction of the 'school' field in the JWT, we can use this attribute to send it directly to the backend. This will allow us to filter which school classes should be returned to the user.
This PR introduces a feature that restricts users' access to specific classes and printers based on their assigned school. The changes ensure that users can only view and interact with resources that are available to their associated school.
It is important to clarify if handling multiple school assignments per teacher is a relevant use case, as this scenario is not supported in the current implementation.