From 44765c5dae625bcee724d5e92dc2d0848698d937 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Mon, 19 Apr 2010 10:03:51 +0000 Subject: [PATCH] adding the variable for subadmin restriction --- install/upgrades/0.9.10.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/upgrades/0.9.10.sql b/install/upgrades/0.9.10.sql index d3517abf..1caff591 100644 --- a/install/upgrades/0.9.10.sql +++ b/install/upgrades/0.9.10.sql @@ -9,3 +9,10 @@ CREATE TABLE IF NOT EXISTS `policy` ( PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='The password policies for services'; + +INSERT IGNORE INTO `variable` (`name` ,`value` ,`comment`) +VALUES ( +'subadmin_restriction', '', +'This variable set the way the account list works for accounts other than "admin" (2000). 0 (default) = admin other than admin/2000 can see their own account, but not the other one 1 = admin other than admin/2000 can see any account by clicking the ''show all accounts'' link. ' +); +