You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/03/07 11:20:32 UTC

[GitHub] [cloudstack] davidjumani opened a new pull request #6065: ui: Add link to account role in listview

davidjumani opened a new pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065


   ### Description
   
   Adds a link in the list view for the role belonging to the account
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [x] Minor
   
   ### Screenshots (if appropriate):
   
   ![Screenshot from 2022-03-07 16-48-47](https://user-images.githubusercontent.com/8244774/157021674-3bbcbcce-1ff3-450c-84c7-b49891cd5cec.png)
   
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] blueorangutan commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1061469983


   @davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] blueorangutan commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1060573304


   UI build: :heavy_check_mark:
   Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6065 (SL-JID-1216)


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] blueorangutan commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1061474164


   UI build: :heavy_check_mark:
   Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6065 (SL-JID-1222)


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] nvazquez merged pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
nvazquez merged pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065


   


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] davidjumani commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
davidjumani commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1061462159


   @blueorangutan ui


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] davidjumani commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
davidjumani commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1060560207


   @blueorangutan ui


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] blueorangutan commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1061451391


   @davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] davidjumani commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
davidjumani commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1061451176


   @blueorangutan ui


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] rohityadavcloud commented on a change in pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on a change in pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#discussion_r820754289



##########
File path: ui/src/components/view/ListView.vue
##########
@@ -265,6 +265,10 @@
       <router-link v-if="$router.resolve('/zone/' + record.zoneid).route.name !== '404'" :to="{ path: '/zone/' + record.zoneid }">{{ text }}</router-link>
       <span v-else>{{ text }}</span>
     </span>
+    <a slot="rolename" slot-scope="text, record">
+      <router-link v-if="record.roleid" :to="{ path: '/role/' + record.roleid }">{{ text }}</router-link>

Review comment:
       It's probably worth checking if the caller has access to `listRoles` too.




-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] weizhouapache commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1060738929


   @davidjumani 
   is it only for 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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] blueorangutan commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1060563571


   @davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] blueorangutan commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1061453827


   UI build: :heavy_check_mark:
   Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6065 (SL-JID-1221)


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] davidjumani commented on pull request #6065: ui: Add link to account role in listview

Posted by GitBox <gi...@apache.org>.
davidjumani commented on pull request #6065:
URL: https://github.com/apache/cloudstack/pull/6065#issuecomment-1061469845


   @blueorangutan ui


-- 
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: commits-unsubscribe@cloudstack.apache.org

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