diff --git a/contentcuration/contentcuration/frontend/shared/views/channel/ChannelModal.vue b/contentcuration/contentcuration/frontend/shared/views/channel/ChannelModal.vue index 5d6f3a7e7d..3d27149a14 100644 --- a/contentcuration/contentcuration/frontend/shared/views/channel/ChannelModal.vue +++ b/contentcuration/contentcuration/frontend/shared/views/channel/ChannelModal.vue @@ -156,6 +156,9 @@ computed: { ...mapState(['currentLanguage']), ...mapGetters('channel', ['getChannel']), + ...mapState({ + user: state => state.session.currentUser, + }), channel() { return this.getChannel(this.channelId) || {}; }, @@ -338,8 +341,9 @@ return new Promise((resolve, reject) => { // Check if we already have the channel locally if (this.getChannel(channelId)) { - // Don't allow view-only channels - if (this.getChannel(channelId).edit) { + // Don't allow view-only channels, + // but allow admins to access + if (this.getChannel(channelId).edit || this.user.is_admin) { resolve(); } else { this.$store.dispatch('errors/handleGenericError', {