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



##########
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:
       @rhtyd In the old UI - the order column is shown for all users , but the 
backend API prevents it from ordering them with the following exception: 
   ```
   Domain Admin and regular users can modify only their own Public templates
   ```
   Hence, to adhere to this - I've exposed the order column only for those that 
it owns




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