INSERT INTO `module` (`module_id`, `is_configurable`, `name`, `title`, `description`, `admin_uri`, `icon`, `maintainers`, `version`, `license`, `state`) VALUES ({SGL_NEXT_ID}, 1, 'authweb', 'AuthWeb', 'AuthWeb Module', '', '48/module_default.png', 'RV Global Soft Teams', '20070128', 'RV Global Soft', 'Stable');

SELECT @moduleId := MAX(module_id) FROM module;

#AuthWebMgr
INSERT INTO permission VALUES ({SGL_NEXT_ID}, 'useractivatemgr', '', @moduleId);
INSERT INTO permission VALUES ({SGL_NEXT_ID}, 'useractivatemgr_cmd_view', '', @moduleId);
INSERT INTO permission VALUES ({SGL_NEXT_ID}, 'useractivatemgr_cmd_update', '', @moduleId);
