is_site_admin

   Usages of this macro
... in permissions.naml
93
94
95
96
97
98
99
100
101
<macro name="is_site_admin" requires="user">
    <n.either
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
        <condition1.either
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
            <condition1.is_site_owner
Macro
Requires: user
 />
            <condition2.is_sysadmin
Binary
Namespace: UserNamespace
 />
        </condition1.either>
        <condition2.is_in_group
Binary
Namespace: UserNamespace
Parameters: group
 group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
    </n.either>
</macro>