head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2001.07.30.18.44.24;	author leonardr;	state dead;
branches;
next	1.3;

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

1.2
date	2001.05.29.17.17.30;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.29.16.52.11;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Moved stuff from 1.1.0 migration directory to 1.2.0 directory to reflect actual future versioning.
@
text
@insert into HELM_RESOURCE (PATTERN, DESCRIPTION)
       values ("/data/htdoc/.*", "All web data")
;

alter table HELM_RESOURCE add column PROJECT_ID integer not null;

create table xxxx_HELM_RESOURCE
(
    RESOURCE_ID INTEGER NOT NULL,
    PROJECT_ID INTEGER NOT NULL,
    PATTERN VARCHAR (99) NOT NULL,
    DESCRIPTION VARCHAR (99) NOT NULL
)
;

insert into xxxx_HELM_RESOURCE (RESOURCE_ID, PROJECT_ID, PATTERN, DESCRIPTION)
select RESOURCE_ID, HELM_PROJECT.PROJECT_ID, PATTERN, DESCRIPTION
 from HELM_RESOURCE, HELM_PROJECT
 where HELM_PROJECT.TYPE="host"
;

delete from HELM_RESOURCE;
insert into HELM_RESOURCE select * from xxxx_HELM_RESOURCE;
drop table xxxx_HELM_RESOURCE;@


1.3
log
@Implemented project-scoped roles.
@
text
@@


1.2
log
@Corrected insertion of "All web data" resource (was inserting a
duplicate "All applicable resources" resource by accident).
@
text
@d4 21
@


1.1
log
@Users with the role "Content Developer" need also have permission to
edit content in the web data directory (as well as the web
auto-publish directory).
@
text
@d2 1
a2 2
       values (".*",      "All applicable resources")
            , ("/data/htdoc/.*", "All web data")
@

