DaanHoogland commented on a change in pull request #5597:
URL: https://github.com/apache/cloudstack/pull/5597#discussion_r733385863
##########
File path: ui/src/views/image/RegisterOrUploadTemplate.vue
##########
@@ -363,7 +363,7 @@
</a-checkbox>
</a-col>
</a-row>
- <a-row>
+ <a-row v-if="$store.getters.userInfo.roletype === 'Admin'">
Review comment:
this means a user cannot make templates public in the checkbox below,
even when it is allowed by the global config.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]