git://git.onelab.eu
/
plstackapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix AttributeError
[plstackapi.git]
/
planetstack
/
core
/
models
/
network.py
diff --git
a/planetstack/core/models/network.py
b/planetstack/core/models/network.py
index
23ef6ea
..
320e56b
100644
(file)
--- a/
planetstack/core/models/network.py
+++ b/
planetstack/core/models/network.py
@@
-51,7
+51,7
@@
class Network(PlCoreBase):
super(Network, self).save(*args, **kwds)
def can_update(self, user):
- return self.
slice
.can_update(user)
+ return self.
owner
.can_update(user)
@staticmethod
def select_by_user(user):