remove self assign in portal

This commit is contained in:
Yuri Kuznetsov
2020-10-14 16:23:02 +03:00
parent 6b18fbe8f7
commit 9ed33c4dc4
+2
View File
@@ -246,6 +246,8 @@ define('views/record/detail', ['views/record/base', 'view-record-helper'], funct
this.getAcl().check(this.entityType, 'edit')
&&
!~this.getAcl().getScopeForbiddenFieldList(this.entityType).indexOf('assignedUser')
&&
!this.getUser().isPortal()
) {
if (this.model.has('assignedUserId')) {
this.dropdownItemList.push({