shared project resource

This commit is contained in:
wanyaoqi
2019-06-16 12:58:18 +08:00
parent 71b3b57912
commit 4523700054
9 changed files with 160 additions and 25 deletions
+2 -2
View File
@@ -190,11 +190,11 @@ func (network *SNetwork) GetIpMask() int8 {
func (network *SNetwork) GetIsPublic() bool {
// return network.IsDefault
return true
return false
}
func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope {
return rbacutils.ScopeDomain
return rbacutils.ScopeProject
}
func (network *SNetwork) GetServerType() string {