head	1.3;
access;
symbols
	TIGRIS_1_1_0RC2:1.3
	TIGRIS_1_1_0RC1:1.3
	TIGRIS_1_1:1.3.0.4
	TIGRIS_1_0_8:1.3
	TIGRIS_1_0_8RC3:1.3
	TIGRIS_1_0_8RC2:1.3
	TIGRIS_1_0_8RC1:1.3
	TIGRIS_1_0_7:1.3
	TIGRIS_1_0_7RC3:1.3
	TIGRIS_1_0_7RC2:1.3
	TIGRIS_1_0_7RC1:1.3
	TIGRIS_1_0_6:1.3
	TIGRIS_1_0_6RC5:1.3
	TIGRIS_1_0_6RC4:1.3
	TIGRIS_1_0_6RC3:1.3
	TIGRIS_1_0_6RC2:1.3
	TIGRIS_1_0_6RC1:1.3
	TIGRIS_1_0_5:1.3
	TIGRIS_1_0_5RC6:1.3
	TIGRIS_1_0_5RC5:1.3
	TIGRIS_1_0_5RC4:1.3
	TIGRIS_1_0_5RC3:1.3
	TIGRIS_1_0_5RC2:1.3
	TIGRIS_1_0_5RC1:1.3
	TIGRIS_1_0_4:1.3
	TIGRIS_1_0_3:1.3
	TIGRIS_1_0_2:1.3
	TIGRIS_1_0_1:1.3
	TIGRIS_1_0:1.3.0.6
	TIGRIS_1_0_0:1.3
	TIGRIS_1_0_0_RC1:1.3.0.2;
locks; strict;
comment	@# @;


1.3
date	2001.03.16.17.56.03;	author leonardr;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.16.15.58.51;	author leonardr;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.16.07.45.13;	author davidp;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Fixed much invalid SQL and wrote a simple migration script.
@
text
@#New actions
INSERT into HELM_ACTION (NAME, TYPE)
       values 
              ("Domain - Join", "Domain")
            , ("Private Mailing List - View", "Project")
            , ("Project - Lock", "Domain")
            , ("Project Download - Edit", "Project")
            , ("Project News - Delete", "Project")
            , ("Session - List", "Domain")
;

#Removed actions
delete from HELM_ACTION where NAME="UserGroup Member - Edit";

#Changed actions
update HELM_ACTION set NAME="ProjectGroup Element - Add" 
 where NAME="ProjectGroup Member - Add";

update HELM_ACTION set NAME="ProjectGroup Element - Delete" 
 where NAME="ProjectGroup Member - Delete";

update HELM_ACTION set NAME="UserGroup Element - Add" 
 where NAME="UserGroup Member - Add";

update HELM_ACTION set NAME="UserGroup Element - Delete" 
 where NAME="UserGroup Member - Delete";

#New fields for actions.
update HELM_ACTION set TAKES_RESOURCE="Y" where
       NAME="Project Content - View" 
    or NAME="Proprietary Page - View"
    or NAME like "VersionControl%"
;

update HELM_ACTION set AFFECTED_BY_PROJECT_LOCK="Y" where
       NAME="Mailing List - Add"
    or NAME="Mailing List - Delete"
    or NAME="Mailing List - Edit"
    or NAME="Project - Delete"
    or NAME="Project - Edit"
    or NAME="Project Configuration - Edit"
    or NAME="Project Document - Edit"
    or NAME="Project Document - Suggest"
    or NAME="Project Download - Edit"
    or NAME="Project Download - Approve"
    or NAME="Project Download - Delete"
    or NAME="Project Download - Suggest"
    or NAME="Project Issue Tracking - Submit"
    or NAME="Project Issue Tracking - Change"
    or NAME="Project Issue Tracking - Configure"
    or NAME="Project Role - Grant"
    or NAME="Unapproved Project Role - Grant"
    or NAME="Project Role - Request"
    or NAME="Project News - Suggest"
    or NAME="Project News - Approve"
    or NAME="Project News - Delete"
    or NAME="Project News - Edit"
    or NAME="Project Page - Edit"
    or NAME="VersionControl - Commit"
    or NAME="VersionControl - Add"
    or NAME="VersionControl - Remove"
    or NAME="VersionControl - Import"
    or NAME="VersionControl - Tag"
;@


1.2
log
@Disabled some more actions on project lock.
@
text
@d32 1
a32 1
    or NAME like ="VersionControl%"
@


1.1
log
@First pass, untested.  Commiting now to allow others to edit.
@
text
@d37 1
d39 1
d45 2
d50 1
d55 2
d61 2
@

