Allow sales person to insert extra_hours
This commit is contained in:
parent
9011f223c7
commit
29f94a8e37
5 changed files with 60 additions and 7 deletions
|
|
@ -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>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue