$def with (perm_records, perm_pages) $var title: [Admin Center] Site Permissions
$:render_template("admin/menu")

Site Permissions

Change the policy of who can edit the site.
$ options = [] $ options.append(("/permission/open", "Anyone can edit")) $ options.append(("/permission/loggedinusers", "Only loggedin users can edit")) $ options.append(("/permission/restricted", "Only admins can edit"))
This applies to /authors/*, /books/* and /works/* records.
$:Dropdown("perm_records", options, id="id_root", value=perm_records).render()
This applies to /about/*, /help/*, /dev/*, /docs/* etc.
$:Dropdown("perm_pages", options, id="id_root", value=perm_pages).render()

  Cancel
This updates "permission" and "child_permission" fields of /, /works, /books and /authors records in the database.