349 | 349 | context['can_change_resources'] = self.request.user.has_perm( |
350 | 350 | "vm.change_resources") |
351 | 351 | |
352 | # can link template | |
353 | context['can_link_template'] = ( | |
354 | instance.template.has_level(user, "operator") | |
355 | if instance.template else False | |
Please
register
or
sign in
to reply
|
+1