feature: a minimal v1 backend implemented for treatments feature.
This commit is contained in:
@@ -220,6 +220,9 @@ export class AppointmentsService {
|
||||
if (names.includes('TAB_TREATMENT_EDIT')) {
|
||||
return;
|
||||
}
|
||||
if (names.includes('TAB_TREATMENT_READ')) {
|
||||
return;
|
||||
}
|
||||
throw new ForbiddenException('You do not have access to appointments');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user