- refactored user_scope to author

- added author_id for future teams implementation
This commit is contained in:
Peter Papp
2021-03-19 11:27:58 +01:00
parent 19a75d2fb1
commit aa51484303
17 changed files with 176 additions and 207 deletions
@@ -27,7 +27,7 @@
:content="fileInfoDetail[0].filesize">
</ListInfoItem>
<ListInfoItem v-if="$checkPermission(['master']) && fileInfoDetail[0].user_scope !== 'master'"
<ListInfoItem v-if="$checkPermission(['master']) && fileInfoDetail[0].author !== 'user'"
:title="$t('file_detail.author')"
:content="$t('file_detail.author_participant')">
</ListInfoItem>
@@ -44,7 +44,7 @@
</div>
<!--Participant owner Icon-->
<div v-if="$checkPermission('master') && item.user_scope !== 'master'" class="item-shared">
<div v-if="$checkPermission('master') && item.author !== 'user'" class="item-shared">
<user-plus-icon size="12" class="shared-icon"></user-plus-icon>
</div>
@@ -48,7 +48,7 @@
</div>
<!--Participant owner Icon-->
<div v-if="$checkPermission('master') && item.user_scope !== 'master'" class="item-shared">
<div v-if="$checkPermission('master') && item.author !== 'user'" class="item-shared">
<user-plus-icon size="12" class="shared-icon"></user-plus-icon>
</div>