mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
iam: Allow creating Compute/Disk offering as Domain admin (#446)
Currently only "ROOT" admin can create compute and disk offering. If we login as domain admin then we cant create a compute and disk offering as domain id's is not passed to the api. If we login as domain admin we need to set "isPublic" to false so that domain id list will be displayed Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
ac0e5daabd
commit
bcdb8f4067
@ -595,6 +595,7 @@ export default {
|
||||
this.isSystem = true
|
||||
}
|
||||
this.fetchData()
|
||||
this.isPublic = this.isAdmin()
|
||||
},
|
||||
methods: {
|
||||
fetchData () {
|
||||
|
||||
@ -348,6 +348,7 @@ export default {
|
||||
},
|
||||
mounted () {
|
||||
this.fetchData()
|
||||
this.isPublic = this.isAdmin()
|
||||
},
|
||||
methods: {
|
||||
fetchData () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user