summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2007-10-31 14:41:26 +0000
committerAndreas Brachold <vdr07@deltab.de>2007-10-31 14:41:26 +0000
commit0cd9e07fc7ba492179a08f0c5411578bf65111fa (patch)
treeaa91f5d50f68cdc185b5c710f3df00e5c2ee69af /lib
parent1521694d5fa47a1c22a44a40ac0e1d01ce7ff534 (diff)
downloadxxv-0cd9e07fc7ba492179a08f0c5411578bf65111fa.tar.gz
xxv-0cd9e07fc7ba492179a08f0c5411578bf65111fa.tar.bz2
* Fix some problems at user rights with guest account
Diffstat (limited to 'lib')
-rw-r--r--lib/XXV/MODULES/CONFIG.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/XXV/MODULES/CONFIG.pm b/lib/XXV/MODULES/CONFIG.pm
index 3a59e4f..c2289dc 100644
--- a/lib/XXV/MODULES/CONFIG.pm
+++ b/lib/XXV/MODULES/CONFIG.pm
@@ -20,27 +20,30 @@ sub module {
Date => (split(/ /, '$Date$'))[1],
Author => 'xpix',
LastAuthor => (split(/ /, '$Author$'))[1],
- Level => 'admin',
Commands => {
configedit => {
description => gettext("Edit configuration 'section'"),
short => 'ce',
callback => sub{ $obj->edit(@_) },
+ Level => 'admin',
},
configwrite => {
description => gettext('Saves the configuration.'),
short => 'cw',
callback => sub{ $obj->write(@_) },
+ Level => 'admin',
},
configget => {
description => gettext("Get configuration from 'modname'"),
short => 'cg',
callback => sub{ $obj->get(@_) },
+ Level => 'admin',
},
reconfigure => {
description => gettext('Edit all processes'),
short => 'cr',
callback => sub{ $obj->reconfigure(@_) },
+ Level => 'admin',
},
help => {
description => gettext("This will display all commands or description of module 'name'."),
@@ -58,7 +61,7 @@ sub module {
Module::Reload->check;
$c->message(gettext("Modules loaded."));
},
- Level => 'admin'
+ Level => 'admin'
},
},
};