# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.SliceTags import SliceTag, SliceTags
+from PLC.Nodes import Node
from PLC.Slices import Slice, Slices
from PLC.InitScripts import InitScript, InitScripts
from PLC.Auth import Auth
else:
### make node's min_role_id == PI min_role_id
node_role_id = 20
- if tag_type['min_role_id'] is not None and node_role_id > tag_type['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']: