head	1.3;
access;
symbols
	TIGRIS_1_1_0RC2:1.1.2.3
	TIGRIS_1_1_0RC1:1.1.2.3
	TIGRIS_1_1:1.1.2.3.0.2
	TIGRIS_1_0_8:1.1.2.3
	TIGRIS_1_0_8RC3:1.1.2.3
	TIGRIS_1_0_8RC2:1.1.2.3
	TIGRIS_1_0_8RC1:1.1.2.3
	TIGRIS_1_0_7:1.1.2.3
	TIGRIS_1_0_7RC3:1.1.2.3
	TIGRIS_1_0_7RC2:1.1.2.3
	TIGRIS_1_0_7RC1:1.1.2.3
	TIGRIS_1_0_6:1.1.2.3
	TIGRIS_1_0_6RC5:1.1.2.3
	TIGRIS_1_0_6RC4:1.1.2.3
	TIGRIS_1_0_6RC3:1.1.2.3
	TIGRIS_1_0_6RC2:1.1.2.3
	TIGRIS_1_0_6RC1:1.1.2.3
	TIGRIS_1_0:1.1.0.2;
locks; strict;
comment	@# @;


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

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

1.1
date	2001.06.07.00.49.05;	author dlr;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2001.06.07.00.49.05;	author dlr;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2001.06.07.00.50.09;	author dlr;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2001.06.07.00.52.03;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Other roles besides Observer deserve this permission.
@
text
@#
# observer role - associated w/project.
#
insert into HELM_ROLE_ACTION_RESOURCE (ROLE_ID, ACTION_ID, RESOURCE_ID)
       select  HELM_ROLE.ROLE_ID, HELM_ACTION.ACTION_ID, HELM_RESOURCE.RESOURCE_ID
         from  HELM_ROLE, HELM_ACTION, HELM_RESOURCE
         where HELM_ROLE.NAME in ("Observer", "Content Developer", "Developer", "Project Owner")
           and HELM_RESOURCE.DESCRIPTION in ("All applicable resources")
           and HELM_ACTION.NAME in ( "Private Project Document - View"
                                   , "Private Project Download - View"
                                   )
;
@


1.2
log
@Added support for private documents.
@
text
@d7 1
a7 1
         where HELM_ROLE.NAME = "Observer"
@


1.1
log
@file RoleActionResource.sql was initially added on branch TIGRIS_1_0.
@
text
@d1 12
@


1.1.2.1
log
@Added support for private documents and downloads.
@
text
@a0 10
#
# observer role - associated w/project.
#
insert into HELM_ROLE_ACTION_RESOURCE (ROLE_ID, ACTION_ID, RESOURCE_ID)
       select  HELM_ROLE.ROLE_ID, HELM_ACTION.ACTION_ID, HELM_RESOURCE.RESOURCE_ID
         from  HELM_ROLE, HELM_ACTION, HELM_RESOURCE
         where HELM_ROLE.NAME = "Observer"
           and HELM_RESOURCE.DESCRIPTION in ("All applicable resources")
           and HELM_ACTION.NAME in ( "Private Project Document - View" )
;
@


1.1.2.2
log
@Added support for private documents and downloads (really this time).
@
text
@d9 1
a9 3
           and HELM_ACTION.NAME in ( "Private Project Document - View"
                                   , "Private Project Document - View"
                                   )
@


1.1.2.3
log
@Added support for private documents and downloads (REALLY THIS TIME).
@
text
@d10 1
a10 1
                                   , "Private Project Download - View"
@


