This commit is contained in:
2021-07-15 19:33:01 +00:00
parent 3240bf83f6
commit 4a38315e8b
15 changed files with 30 additions and 207 deletions

View File

@@ -627,11 +627,7 @@ export default {
return this.activeItemIndex != null;
},
canAdd: function() {
return (
this.pvm.rights.change &&
this.pvm.subRights.tasks.create &&
!this.value.userIsRestrictedType
);
return this.pvm.rights.change && !this.value.userIsRestrictedType;
},
canDelete: function() {
return (
@@ -641,11 +637,7 @@ export default {
);
},
canDeleteAll: function() {
return (
this.pvm.rights.change &&
this.pvm.subRights.tasks.delete &&
!this.value.userIsRestrictedType
);
return this.pvm.rights.change && !this.value.userIsRestrictedType;
}
}
};