[ ] Add new set of permissions for approving workshops in permissions list. Check provider permissions for reference. Also have a separate permission for moderators to read providers and workshops.
[ ] Add this permission to every role that already was able to approve providers. Also create a new permissions pack for moderator role to be able to read his info and have access to approve provider/workshop. Make sure that a new migration with packed permissions exists.
[ ] In AdminController create a new endpoint GetWorkshopsByFilter that is similar to GetProviderByFilter and returns a full WokrshopDTO list. Make this endpoint accessible only to moderator workshop list permission.
Note: You may need to modify other components aswell.
moderator
using hosted servicemoderator
role to be able to read his info and have access to approve provider/workshop. Make sure that a new migration with packed permissions exists.AdminController
create a new endpointGetWorkshopsByFilter
that is similar to GetProviderByFilter and returns a fullWokrshopDTO
list. Make this endpoint accessible only to moderator workshop list permission.