git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3e24c0
)
permit updates for >= role ids
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 26 Sep 2009 12:01:01 +0000
(12:01 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 26 Sep 2009 12:01:01 +0000
(12:01 +0000)
PLC/Methods/UpdateSliceTag.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/UpdateSliceTag.py
b/PLC/Methods/UpdateSliceTag.py
index
7b8aed2
..
932d638
100644
(file)
--- a/
PLC/Methods/UpdateSliceTag.py
+++ b/
PLC/Methods/UpdateSliceTag.py
@@
-60,7
+60,7
@@
class UpdateSliceTag(Method):
else:
### make node's min_role_id == PI min_role_id
node_role_id = 20
- if slice_tag['min_role_id'] is not None and node_role_id > slice_tag['min_role_id']:
+ if slice_tag['min_role_id'] is not None and node_role_id >
=
slice_tag['min_role_id']:
raise PLCPermissionDenied, "Not allowed to update the specified slice attribute"
if slice_tag['tagname'] in ['initscript']: