mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
shared project resource
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user