Allow sales person to insert extra_hours

This commit is contained in:
Simon Goller 2024-06-26 14:54:14 +02:00
parent 9011f223c7
commit 29f94a8e37
5 changed files with 60 additions and 7 deletions

View file

@ -103,4 +103,9 @@ pub trait SalesPersonService {
&self,
context: Authentication<Self::Context>,
) -> Result<Option<SalesPerson>, ServiceError>;
async fn verify_user_is_sales_person(
&self,
sales_person_id: Uuid,
context: Authentication<Self::Context>,
) -> Result<(), ServiceError>;
}