can_be_assigned_to

NAML documentation   Watch a video
   Usages of this macro
... in workgroup.naml
399
400
401
402
403
404
405
406
<macro name="can_be_assigned_to" requires="user" dot_parameter="node_attr">
    <n.set_local_user
Macro
Parameters: user
.this_user
Binary
Namespace: UserNamespace
Parameters: do
 />
    <n.set_local_node
Macro
Parameters: node
.node_attr/>
    <n.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
        <condition1.not
Binary
Namespace: BasicNamespace
Parameters: condition
.local_user
Macro
Parameters: do
.is_anonymous
Binary
Namespace: UserNamespace
/>
        <condition2.local_user
Macro
Parameters: do
.has_permission
Binary
Namespace: UserNamespace
Parameters: node, permission_node, permission
 node="[n.local_node
Macro
Parameters: do
/]" permission_node="[n.local_node
Macro
Parameters: do
.app_or_root
Macro
Requires: node
Parameters: do
/]" permission="[n.assignment_permission
Macro
/]" />
    </n.both>
</macro>