Index: lams_common/db/model/lams_tables.clay =================================================================== diff -u --- lams_common/db/model/lams_tables.clay (revision 0) +++ lams_common/db/model/lams_tables.clay (revision cc6864f9d0a4e4fa8515e2852cd34a4caa6b313a) @@ -0,0 +1,4668 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
Index: lams_common/db/model/user_management.clay =================================================================== diff -u --- lams_common/db/model/user_management.clay (revision 0) +++ lams_common/db/model/user_management.clay (revision cc6864f9d0a4e4fa8515e2852cd34a4caa6b313a) @@ -0,0 +1,822 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +a user in lams + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +Organisation in LAMS: essentially a grouping of users. This might map to organisational structure, course structure or class structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +joins a user to an org with a role + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +Table enumerates the types for organizations: +current available types: +root (the root org used by the system administrator) +base (the base org of a particular LAMS client org: e.g. a university or school). +sub (child org of a the base org) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +represents a method of authorization in LAMS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +enumerates the types of authorization method LAMS supports: +Current values: +LAMS (lams DB: compare user/password against user table). +WEB_AUTH (user is authroized via WebAuth). + +Future: +LDAP (compare user/pawword against an LDAP instance) +COOKIE (user authorized by a cookie) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +parameters for an authorization method + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
Index: lams_common/db/sql/add_workspace_tables.sql =================================================================== diff -u --- lams_common/db/sql/add_workspace_tables.sql (revision 0) +++ lams_common/db/sql/add_workspace_tables.sql (revision cc6864f9d0a4e4fa8515e2852cd34a4caa6b313a) @@ -0,0 +1,31 @@ +# Connection: ROOT LOCAL +# Host: localhost +# Saved: 2004-11-09 16:13:07 +# +CREATE TABLE lams_workspace_folder ( + workspace_folder_id INT(11) NOT NULL + , parent_folder_id INT(11) + , name VARCHAR(64) NOT NULL + , workspace_id INT(11) NOT NULL + , PRIMARY KEY (workspace_folder_id) + , INDEX (parent_folder_id) + , CONSTRAINT FK_lams_workspace_folder_2 FOREIGN KEY (parent_folder_id) + REFERENCES lams_workspace_folder (workspace_folder_id) +)TYPE=InnoDB; + +CREATE TABLE lams_workspace ( + workspace_id INT(11) NOT NULL + , root_folder_id INT(11) NOT NULL + , PRIMARY KEY (workspace_id) + , INDEX (root_folder_id) + , CONSTRAINT FK_lams_workspace_1 FOREIGN KEY (root_folder_id) + REFERENCES lams_workspace_folder (workspace_folder_id) +)TYPE=InnoDB; + +ALTER TABLE lams_user ADD workspace_id INT(11); +ALTER TABLE lams_user ADD INDEX idx_lams_user_workspace_id (workspace_id); +ALTER TABLE lams_user ADD FOREIGN KEY (workspace_id) REFERENCES lams_workspace (workspace_id); + +ALTER TABLE lams_organisation ADD workspace_id INT(11); +ALTER TABLE lams_organisation ADD INDEX idx_lams_organisation_workspace_id (workspace_id); +ALTER TABLE lams_organisation ADD FOREIGN KEY (workspace_id) REFERENCES lams_workspace (workspace_id); \ No newline at end of file Index: lams_common/db/sql/create_user_management_tables.sql =================================================================== diff -u --- lams_common/db/sql/create_user_management_tables.sql (revision 0) +++ lams_common/db/sql/create_user_management_tables.sql (revision cc6864f9d0a4e4fa8515e2852cd34a4caa6b313a) @@ -0,0 +1,136 @@ +CREATE TABLE lams_organisation_type ( + organisation_type_id INT(3) NOT NULL + , description VARCHAR(64) NOT NULL + , PRIMARY KEY (organisation_type_id) +)TYPE=InnoDB; + +CREATE TABLE lams_authentication_method_type ( + authentication_method_type_id INT(3) NOT NULL + , description VARCHAR(64) NOT NULL + , PRIMARY KEY (authentication_method_type_id) +)TYPE=InnoDB; + +CREATE TABLE lams_role ( + role_id INT(6) NOT NULL DEFAULT 0 + , name VARCHAR(64) NOT NULL + , description TEXT + , create_date BIGINT(20) + , PRIMARY KEY (role_id) +)TYPE=InnoDB; +CREATE INDEX gname ON lams_role (name ASC); + +CREATE TABLE lams_authentication_method ( + authentication_method_id INT(11) NOT NULL + , authentication_method_type_id INT(3) NOT NULL + , PRIMARY KEY (authentication_method_id) + , INDEX (authentication_method_type_id) + , CONSTRAINT FK_lams_authorization_method_1 FOREIGN KEY (authentication_method_type_id) + REFERENCES lams_authentication_method_type (authentication_method_type_id) +)TYPE=InnoDB; + +CREATE TABLE lams_workspace_folder ( + workspace_folder_id INT(11) NOT NULL + , parent_folder_id INT(11) + , name VARCHAR(64) NOT NULL + , workspace_id INT(11) NOT NULL + , PRIMARY KEY (workspace_folder_id) + , INDEX (parent_folder_id) + , CONSTRAINT FK_lams_workspace_folder_2 FOREIGN KEY (parent_folder_id) + REFERENCES lams_workspace_folder (workspace_folder_id) +)TYPE=InnoDB; + +CREATE TABLE lams_workspace ( + workspace_id INT(11) NOT NULL + , root_folder_id INT(11) NOT NULL + , PRIMARY KEY (workspace_id) + , INDEX (root_folder_id) + , CONSTRAINT FK_lams_workspace_1 FOREIGN KEY (root_folder_id) + REFERENCES lams_workspace_folder (workspace_folder_id) +)TYPE=InnoDB; + +CREATE TABLE lams_user ( + user_id INT(11) NOT NULL DEFAULT 0 + , login VARCHAR(20) NOT NULL + , password VARCHAR(50) NOT NULL + , title VARCHAR(32) + , first_name VARCHAR(64) + , last_name VARCHAR(128) + , address_line_1 VARCHAR(64) + , address_line_2 VARCHAR(64) + , address_line_3 VARCHAR(64) + , city VARCHAR(64) + , state VARCHAR(64) + , country VARCHAR(64) + , day_phone VARCHAR(64) + , evening_phone VARCHAR(64) + , mobile_phone VARCHAR(64) + , fax VARCHAR(64) + , email VARCHAR(128) + , disabled_flag BOOL NOT NULL DEFAULT 0 + , create_date DATETIME NOT NULL + , authentication_method_id INT(11) NOT NULL + , workspace_id INT(11) + , PRIMARY KEY (user_id) + , INDEX (authentication_method_id) + , CONSTRAINT FK_lams_user_1 FOREIGN KEY (authentication_method_id) + REFERENCES lams_authentication_method (authentication_method_id) + , INDEX (workspace_id) + , CONSTRAINT FK_lams_user_2 FOREIGN KEY (workspace_id) + REFERENCES lams_workspace (workspace_id) +)TYPE=InnoDB; +CREATE INDEX login ON lams_user (login ASC); + +CREATE TABLE lams_organisation ( + organisation_id INT(11) NOT NULL DEFAULT 0 + , name VARCHAR(250) + , description VARCHAR(250) + , parent_organisation_id INT(11) + , organisation_type_id INT(3) NOT NULL + , create_date DATETIME NOT NULL + , workspace_id INT(11) + , PRIMARY KEY (organisation_id) + , INDEX (organisation_type_id) + , CONSTRAINT FK_lams_organisation_1 FOREIGN KEY (organisation_type_id) + REFERENCES lams_organisation_type (organisation_type_id) + , INDEX (workspace_id) + , CONSTRAINT FK_lams_organisation_2 FOREIGN KEY (workspace_id) + REFERENCES lams_workspace (workspace_id) +)TYPE=InnoDB; + +CREATE TABLE lams_user_organisation ( + user_organisation_id INT(11) NOT NULL + , organisation_id INT(11) NOT NULL + , user_id INT(11) NOT NULL + , PRIMARY KEY (user_organisation_id) + , INDEX (user_id) + , CONSTRAINT u_user_organisation_ibfk_1 FOREIGN KEY (user_id) + REFERENCES lams_user (user_id) ON DELETE NO ACTION ON UPDATE NO ACTION + , INDEX (organisation_id) + , CONSTRAINT u_user_organisation_ibfk_2 FOREIGN KEY (organisation_id) + REFERENCES lams_organisation (organisation_id) ON DELETE NO ACTION ON UPDATE NO ACTION +)TYPE=InnoDB; + +CREATE TABLE lams_authentication_method_parameter ( + authentication_parameter_id INT(11) NOT NULL + , authentication_method_id INT(11) NOT NULL + , name VARCHAR(128) NOT NULL + , value VARCHAR(255) + , PRIMARY KEY (authentication_parameter_id) + , INDEX (authentication_method_id) + , CONSTRAINT FK_lams_authorization_method_parameter_1 FOREIGN KEY (authentication_method_id) + REFERENCES lams_authentication_method (authentication_method_id) +)TYPE=InnoDB; + +CREATE TABLE lams_user_organisation_role ( + user_organisation_role_id INT(11) NOT NULL + , user_organisation_id INT(11) NOT NULL + , role_id INT(6) NOT NULL DEFAULT 0 + , PRIMARY KEY (user_organisation_role_id) + , INDEX (role_id) + , CONSTRAINT FK_lams_user_organisation_role_2 FOREIGN KEY (role_id) + REFERENCES lams_role (role_id) + , INDEX (user_organisation_id) + , CONSTRAINT FK_lams_user_organisation_role_3 FOREIGN KEY (user_organisation_id) + REFERENCES lams_user_organisation (user_organisation_id) +)TYPE=InnoDB; + Index: lams_common/db/sql/drop_user_management_tables.sql =================================================================== diff -u --- lams_common/db/sql/drop_user_management_tables.sql (revision 0) +++ lams_common/db/sql/drop_user_management_tables.sql (revision cc6864f9d0a4e4fa8515e2852cd34a4caa6b313a) @@ -0,0 +1,31 @@ +DROP INDEX PRIMARY ON lams_role; +DROP INDEX gname ON lams_role; +DROP INDEX PRIMARY ON lams_user; +DROP INDEX login ON lams_user; +DROP INDEX PRIMARY ON lams_organisation; +DROP INDEX idx_user_org_org_id ON lams_user_organisation; +DROP INDEX user_id ON lams_user_organisation; + +DROP TABLE lams_user_organisation_role; +DROP TABLE lams_authentication_method_parameter; +DROP TABLE lams_user_organisation; +DROP TABLE lams_organisation; +DROP TABLE lams_user; +DROP TABLE lams_workspace; +DROP TABLE lams_workspace_folder; +DROP TABLE lams_authentication_method; +DROP TABLE lams_role; +DROP TABLE lams_authentication_method_type; +DROP TABLE lams_organisation_type; + + + + + + + + + + + + Index: lams_common/db/sql/insert_user_management_data.sql =================================================================== diff -u --- lams_common/db/sql/insert_user_management_data.sql (revision 0) +++ lams_common/db/sql/insert_user_management_data.sql (revision cc6864f9d0a4e4fa8515e2852cd34a4caa6b313a) @@ -0,0 +1,22 @@ +# Connection: ROOT LOCAL +# Host: localhost +# Saved: 2004-11-09 15:04:37 +# +# Connection: ROOT LOCAL +# Host: localhost +# Saved: 2004-11-09 15:01:18 +# +INSERT INTO lams_role VALUES (1, 'SYSADMIN', 'LAMS System Adminstrator', NOW()); +INSERT INTO lams_role VALUES (2, 'ADMIN', 'Organization Adminstrator', NOW()); +INSERT INTO lams_role VALUES (3, 'AUTHOR', 'Authors Learning Designs', NOW()); +INSERT INTO lams_role VALUES (4, 'STAFF', 'Member of Staff', NOW()); +INSERT INTO lams_role VALUES (5, 'LEARNER', 'Student', NOW()); + +INSERT INTO lams_authentication_method_type VALUES(1, 'LAMS'); +INSERT INTO lams_authentication_method_type VALUES(2, 'WEB_AUTH'); +INSERT INTO lams_authentication_method_type VALUES(3, 'LDAP'); + +INSERT INTO lams_organisation_type VALUES(1, 'ROOT ORGANISATION'); +INSERT INTO lams_organisation_type VALUES(2, 'BASE ORGANISATION'); +INSERT INTO lams_organisation_type VALUES(3, 'SUB-ORGANIZATION'); + Index: lams_common/design/lams11.mdr =================================================================== diff -u Binary files differ Index: lams_common/design/lams11.xml.zip =================================================================== diff -u Binary files differ