absmach / magistrala

Industrial IoT Messaging and Device Management Platform
https://www.abstractmachines.fr/magistrala.html
Apache License 2.0
2.42k stars 665 forks source link

Move default permission filters from Auth API to service #2252

Closed dborovcanin closed 1 month ago

dborovcanin commented 1 month ago

What type of PR is this?

This PR moves default permission filters to the Auth Service layer.

What does this do?

It updates business logic in service layer moving it from the API. This helps decouple API from service since this is not only form(at) validation but also a major part of business logic.

Which issue(s) does this PR fix/relate to?

There are no such issues.

Have you included tests for your changes?

Yes.

Did you document any new/modified feature?

N/A

Notes

N/A