mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
fixes
This commit is contained in:
@@ -25,14 +25,19 @@
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||
************************************************************************/
|
||||
************************************************************************/
|
||||
|
||||
namespace Espo\Controllers;
|
||||
|
||||
use \Espo\Core\Exceptions\Forbidden;
|
||||
|
||||
class EmailAddress extends \Espo\Core\Controllers\Record
|
||||
{
|
||||
public function actionSearchInAddressBook($params, $data, $request)
|
||||
{
|
||||
if (!$this->getAcl()->checkScope('Email')) {
|
||||
throw new Forbidden();
|
||||
}
|
||||
$q = $request->get('q');
|
||||
$limit = intval($request->get('limit'));
|
||||
if (empty($limit) || $limit > 30) {
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
{"name":"subject","width":35,"link":true,"notSortable": true},
|
||||
{"name":"status","notSortable": true, "width":10},
|
||||
{"name":"parent","notSortable": true, "width": 16},
|
||||
{"name":"dateSent","view": "views/fields/date-time-short", "notSortable": true, "width":10, "align": "right"}
|
||||
{"name":"dateSent","view": "views/fields/datetime-short", "notSortable": true, "width":10, "align": "right"}
|
||||
]
|
||||
|
||||
@@ -22,21 +22,11 @@
|
||||
"edit": "no",
|
||||
"delete": "no"
|
||||
},
|
||||
"EmailAddress": {
|
||||
"read": "no",
|
||||
"edit": "no",
|
||||
"delete": "no"
|
||||
},
|
||||
"Attachment": {
|
||||
"read": "own",
|
||||
"edit": "own",
|
||||
"delete": "own"
|
||||
},
|
||||
"PhoneNumber": {
|
||||
"read": "no",
|
||||
"edit": "no",
|
||||
"delete": "no"
|
||||
},
|
||||
"EmailAccount": {
|
||||
"read": "own",
|
||||
"edit": "own",
|
||||
|
||||
@@ -14,13 +14,11 @@
|
||||
"delete": "own"
|
||||
},
|
||||
"Portal": false,
|
||||
"EmailAddress": false,
|
||||
"Attachment": {
|
||||
"read": "own",
|
||||
"edit": "own",
|
||||
"delete": "own"
|
||||
},
|
||||
"PhoneNumber": false,
|
||||
"EmailAccount": false,
|
||||
"Role": false,
|
||||
"PortalRole": false,
|
||||
|
||||
Reference in New Issue
Block a user