diff --git a/src/components/pages/Brief.vue b/src/components/pages/Brief.vue new file mode 100644 index 000000000..204e9213c --- /dev/null +++ b/src/components/pages/Brief.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/src/components/pages/ProductionSettings.vue b/src/components/pages/ProductionSettings.vue index 836db135c..f425dee6d 100644 --- a/src/components/pages/ProductionSettings.vue +++ b/src/components/pages/ProductionSettings.vue @@ -219,6 +219,11 @@ export default { }, mounted() { + if (!this.isCurrentUserManager) { + this.$router.push({ name: 'not-found' }) + return + } + if (this.remainingAssetTypes.length > 0) { this.assetTypeId = this.remainingAssetTypes[0].value } @@ -232,8 +237,9 @@ export default { computed: { ...mapGetters([ - 'currentProduction', 'assetTypes', + 'currentProduction', + 'isCurrentUserManager', 'productionAssetTypes', 'productionTaskStatuses', 'taskStatus' diff --git a/src/components/pages/production/ProductionBrief.vue b/src/components/pages/production/ProductionBrief.vue index 11acc0dd4..e22489760 100644 --- a/src/components/pages/production/ProductionBrief.vue +++ b/src/components/pages/production/ProductionBrief.vue @@ -1,7 +1,7 @@