This commit is contained in:
liugang
2022-10-10 13:40:04 +08:00
parent 3cb2f063cd
commit 4512eaf2b4
+1 -1
View File
@@ -118,7 +118,7 @@ js::set('priv',
'canDeleteStory' => common::hasPriv('story', 'delete'),
'canChangeStory' => common::hasPriv('story', 'change'),
'canCloseStory' => common::hasPriv('story', 'close'),
'canUnlinkStory' => common::hasPriv('execution', 'unlinkStory'),
'canUnlinkStory' => common::hasPriv('execution', 'unlinkStory') && !empty($execution->hasProduct),
'canViewStory' => common::hasPriv('execution', 'storyView'),
)
);