แก้ สิทธิ์ให้ค้นไวขึ้น
This commit is contained in:
parent
91c3b96df9
commit
93fc8cfd53
3 changed files with 334 additions and 39 deletions
|
|
@ -3577,12 +3577,12 @@ export class OrganizationController extends Controller {
|
|||
// child3: null,
|
||||
// child4: null,
|
||||
// };
|
||||
|
||||
|
||||
// if (!request.user.role.includes("SUPER_ADMIN")) {
|
||||
// _data = await new permission().PermissionOrgList(request, "SYS_ACTING");
|
||||
// }
|
||||
await new permission().PermissionOrgList(request, "SYS_ACTING");
|
||||
|
||||
|
||||
const orgRevision = await this.orgRevisionRepository.findOne({ where: { id } });
|
||||
if (!orgRevision) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue