(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: edit_user.ml,v 1.12 2006/03/27 19:10:29 rich Exp $
+ * $Id: edit_user.ml,v 1.13 2006/07/26 16:34:18 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
let can_manage_site = q#param_true "can_manage_site" in
let can_edit_global_css = q#param_true "can_edit_global_css" in
let can_import_mail = q#param_true "can_import_mail" in
+ let can_edit_macros = q#param_true "can_edit_macros" in
(* Trying to remove manage users permission from self? *)
(match can_manage_users, self with
can_manage_contacts = $can_manage_contacts,
can_manage_site = $can_manage_site,
can_edit_global_css = $can_edit_global_css,
- can_import_mail = $can_import_mail
+ can_import_mail = $can_import_mail,
+ can_edit_macros = $can_edit_macros
where hostid = $hostid and id = $userid";
(* Finish up. *)