Merge branch 'develop' into develop-Bright
This commit is contained in:
commit
0a6d093186
23 changed files with 77 additions and 67 deletions
|
|
@ -2277,7 +2277,7 @@ export class ProfileController extends Controller {
|
|||
@Path() id: string,
|
||||
@Body() body: UpdateProfile,
|
||||
) {
|
||||
await new permission().PermissionUpdate(request, "SYS_REGISTRY");
|
||||
await new permission().PermissionUpdate(request, "SYS_REGISTRY_OFFICER");
|
||||
const exists =
|
||||
!!body.citizenId &&
|
||||
(await this.profileRepo.findOne({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue