rhtyd commented on a change in pull request #517:
URL: https://github.com/apache/cloudstack-primate/pull/517#discussion_r451325926



##########
File path: src/components/view/DetailSettings.vue
##########
@@ -173,7 +173,8 @@ export default {
     },
     isAdminOrOwner () {
       return ['Admin'].includes(this.$store.getters.userInfo.roletype) ||
-        (this.resource.domainid === this.$store.getters.userInfo.domainid && 
this.resource.account === this.$store.getters.userInfo.account)
+        (this.resource.domainid === this.$store.getters.userInfo.domainid && 
this.resource.account === this.$store.getters.userInfo.account) ||
+        this.resource.project && this.resource.project === 
this.$store.getters.project.name

Review comment:
       @Pearl1594 should the check be on projectid instead?




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