ปลดเช็คสิทธิ์
This commit is contained in:
parent
fbef363ca1
commit
02b84fb3b5
1 changed files with 3 additions and 3 deletions
|
|
@ -51,9 +51,9 @@ export class ProfileAssistanceController extends Controller {
|
|||
|
||||
@Get("{profileId}")
|
||||
public async detailProfileAssistance(@Path() profileId: string, @Request() req: RequestWithUser) {
|
||||
let _workflow = await new permission().Workflow(req, profileId, "SYS_REGISTRY_OFFICER");
|
||||
if (_workflow == false)
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", profileId);
|
||||
// let _workflow = await new permission().Workflow(req, profileId, "SYS_REGISTRY_OFFICER");
|
||||
// if (_workflow == false)
|
||||
// await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", profileId);
|
||||
const getProfileAssistanceId = await this.profileAssistanceRepo.find({
|
||||
where: { profileId: profileId },
|
||||
order: { createdAt: "ASC" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue