This commit is contained in:
liumengyi
2022-08-24 16:26:31 +08:00
parent e7bbfe300c
commit 151ba86838
+1 -1
View File
@@ -4578,7 +4578,7 @@ class storyModel extends model
$executionID = empty($execution) ? $this->session->execution : $execution->id;
$account = $this->app->user->account;
$storyLink = helper::createLink('story', 'view', "storyID=$story->id&version=0&param=0&storyType=$story->type");
$canView = common::hasPriv('story', 'view');
$canView = common::hasPriv($story->type, 'view', null, "storyType=$story->type");
if($tab == 'project')
{