mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Merge pull request #1823 from jygaulier/PHRAS-1091_ORDER_ROUTE_STORIES
PHRAS-1091_ORDER_ROUTE_STORIES
This commit is contained in:
@@ -191,7 +191,7 @@ class ApiOrderController extends BaseOrderController
|
||||
$filtered = [];
|
||||
|
||||
foreach ($records as $index => $record) {
|
||||
if ($acl->has_right_on_base($record->getBaseId(), 'cancmd')) {
|
||||
if (!$record->isStory() && $acl->has_right_on_base($record->getBaseId(), 'cancmd')) {
|
||||
$filtered[$index] = $record;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user