Skip to content

Commit

Permalink
SuiteCRM 7.14.5 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jack7anderson7 committed Aug 13, 2024
1 parent ea756b1 commit 1a114a9
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 49 deletions.
4 changes: 4 additions & 0 deletions Api/V8/Service/ModuleService.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ public function updateRecord(UpdateModuleParams $params, Request $request)
throw new AccessDeniedException();
}

if (isset($attributes['deleted']) && isTrue($attributes['deleted']) && !$bean->ACLAccess('delete')) {
throw new AccessDeniedException();
}

$this->setRecordUpdateParams($bean, $attributes);
$fileUpload = $this->processAttributes($bean, $attributes);
$bean->save();
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img width="180px" height="41px" src="https://suitecrm.com/wp-content/uploads/2017/12/logo.png" align="right" />
</a>

# SuiteCRM 7.14.4
# SuiteCRM 7.14.5

[![Build Status](https://travis-ci.org/salesagility/SuiteCRM.svg?branch=hotfix)](https://travis-ci.org/salesagility/SuiteCRM)
[![codecov](https://codecov.io/gh/salesagility/SuiteCRM/branch/hotfix/graph/badge.svg)](https://codecov.io/gh/salesagility/SuiteCRM/branch/hotfix)
Expand Down
Loading

0 comments on commit 1a114a9

Please sign in to comment.