]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl remove user managment
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 10 Nov 2007 13:18:24 +0000 (13:18 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 10 Nov 2007 13:18:24 +0000 (13:18 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5889 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/script/upgrade-2.2_3.0_postgresql.sql [deleted file]

diff --git a/gui/bweb/script/upgrade-2.2_3.0_postgresql.sql b/gui/bweb/script/upgrade-2.2_3.0_postgresql.sql
deleted file mode 100644 (file)
index f9eccb7..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- --------------------------------------------------
--- Upgrade from 2.2
--- --------------------------------------------------
-
-CREATE FUNCTION concat (text, text) RETURNS text AS '
-DECLARE
-result text;
-BEGIN
-IF $1 is not null THEN
-result := $1 || $2;
-END IF;
-
-RETURN result;
-END;
-' LANGUAGE plpgsql;
-
-CREATE AGGREGATE group_concat(
-sfunc = concat,
-basetype = text,
-stype = text,
-initcond = ''
-);
-
-BEGIN;
-CREATE TABLE bweb_user
-(
-       userid       serial not null,
-       username     text not null,
-       use_acl      boolean default false,
-        comment      text default '',
-       passwd       text default '',
-       primary key (userid)
-);
-CREATE UNIQUE INDEX bweb_user_idx on bweb_user (username);
-
-CREATE TABLE bweb_role
-(
-       roleid       serial not null,
-       rolename     text not null,
---     comment      text default '',
-       primary key (roleid)
-);
-CREATE UNIQUE INDEX bweb_role_idx on bweb_role (rolename);
-
-INSERT INTO bweb_role (rolename) VALUES ('r_user_mgnt');
-INSERT INTO bweb_role (rolename) VALUES ('r_delete_job');
-INSERT INTO bweb_role (rolename) VALUES ('r_prune');
-INSERT INTO bweb_role (rolename) VALUES ('r_purge');
-INSERT INTO bweb_role (rolename) VALUES ('r_group_mgnt');
-INSERT INTO bweb_role (rolename) VALUES ('r_location_mgnt');
-INSERT INTO bweb_role (rolename) VALUES ('r_cancel_job');
-INSERT INTO bweb_role (rolename) VALUES ('r_run_job');
-INSERT INTO bweb_role (rolename) VALUES ('r_configure');
-INSERT INTO bweb_role (rolename) VALUES ('r_client_status');
-INSERT INTO bweb_role (rolename) VALUES ('r_view_job');
-
-CREATE TABLE  bweb_role_member
-(
-       roleid       integer not null,
-       userid       integer not null,
-       primary key (roleid, userid)
-);
-
-CREATE TABLE  bweb_client_group_acl
-(
-       client_group_id       integer not null,
-       userid                integer not null,
-       primary key (client_group_id, userid)
-);
-COMMIT;