Pearl1594 commented on a change in pull request #474:
URL: https://github.com/apache/cloudstack-primate/pull/474#discussion_r448221510



##########
File path: src/views/AutogenView.vue
##########
@@ -485,6 +485,10 @@ export default {
         }
       }
 
+      if (!['Admin'].includes(this.$store.getters.userInfo.roletype) && 
this.apiName === 'listTemplates' && this.selectedFilter !== 'self') {

Review comment:
       The API allows users and dom admins to change the order of their own 
public templates. However, I can restrict this only to Root admin




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to