You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/07/01 08:54:58 UTC

[GitHub] [cloudstack-primate] Pearl1594 commented on a change in pull request #474: Hide order column for user account

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:
users@infra.apache.org