update_default_permissions

   Usages of this macro
... in permissions.naml
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<macro name="update_default_permissions">
    <n.set_default_permissions
Binary
Namespace: NabbleNamespace
Parameters: do, version
. version="[n.current_permission_version
Macro
/]" >
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.view_permission
Binary
Namespace: NabbleNamespace
/]" group="[n.anyone_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.edit_app_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.reply_permission
Macro
/]" group="[n.anyone_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.create_topic_permission
Macro
/]" group="[n.anyone_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.move_permission
Macro
/]" group="[n.authors_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.move_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.create_sub_apps_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.change_post_date_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.manage_subscribers_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_site_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.manage_banned_users_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.manage_pinned_topics_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.manage_locked_topics_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.show_group_members_permission
Macro
/]" group="[n.registered_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.show_group_members_permission
Macro
/]" group="[n.administrators_group
Binary
Namespace: NabbleNamespace
/]" />
        <n.add_permission
Binary
Namespace: DefaultPermissionEditorNamespace
Parameters: permission, group
 permission="[n.show_group_members_permission
Macro
/]" group="[n.members_group
Macro
/]" />
    </n.set_default_permissions.>
</macro>