do not show an edit link in the Asset Manager unless the asset is editable
This commit is contained in:
parent
4e1df1ba0e
commit
38add7ccbe
3 changed files with 12 additions and 7 deletions
|
|
@ -288,7 +288,7 @@ sub www_ajaxGetManagerPage {
|
|||
childCount => $asset->getChildCount,
|
||||
assetSize => $asset->get( 'assetSize' ),
|
||||
lockedBy => $asset->get( 'isLockedBy' ),
|
||||
canEditIfLocked => $asset->canEditIfLocked,
|
||||
actions => $asset->canEdit && $asset->canEditIfLocked,
|
||||
);
|
||||
|
||||
$fields{ className } = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue