head	1.4;
access;
symbols
	TIGRIS_1_1_0RC2:1.4
	TIGRIS_1_1_0RC1:1.4
	TIGRIS_1_1:1.4.0.4
	TIGRIS_1_0_8:1.4
	TIGRIS_1_0_8RC3:1.4
	TIGRIS_1_0_8RC2:1.4
	TIGRIS_1_0_8RC1:1.4
	TIGRIS_1_0_7:1.4
	TIGRIS_1_0_7RC3:1.4
	TIGRIS_1_0_7RC2:1.4
	TIGRIS_1_0_7RC1:1.4
	TIGRIS_1_0_6:1.4
	TIGRIS_1_0_6RC5:1.4
	TIGRIS_1_0_6RC4:1.4
	TIGRIS_1_0_6RC3:1.4
	TIGRIS_1_0_6RC2:1.4
	TIGRIS_1_0_6RC1:1.4
	TIGRIS_1_0_5:1.4
	TIGRIS_1_0_5RC6:1.4
	TIGRIS_1_0_5RC5:1.4
	TIGRIS_1_0_5RC4:1.4
	TIGRIS_1_0_5RC3:1.4
	TIGRIS_1_0_5RC2:1.4
	TIGRIS_1_0_5RC1:1.4
	TIGRIS_1_0_4:1.4
	TIGRIS_1_0_3:1.4
	TIGRIS_1_0_2:1.4
	TIGRIS_1_0_1:1.4
	TIGRIS_1_0:1.4.0.6
	TIGRIS_1_0_0:1.4
	TIGRIS_1_0_0_RC1:1.4.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.3
	TIGRIS_0_9_2_3:1.3
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.3
	TIGRIS_0_9_2_1:1.3
	TIGRIS_0_9_2:1.3.0.2
	TIGRIS_0_9_0:1.1.1.1.0.4
	TIGRIS_0_8_4:1.1.1.1.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2001.02.21.01.08.28;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.18.18.06.43;	author jrobbins;	state Exp;
branches
	1.3.4.1;
next	1.2;

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

1.1
date	2000.11.12.21.17.57;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.17.57;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.36.30;	author dlr;	state Exp;
branches;
next	;

1.3.4.1
date	2001.01.31.17.47.04;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.4
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@#
# populate the HELM_USER_USERGROUP table
#

insert into HELM_USER_USERGROUP
          ( USER_ID,
            USER_GROUP_ID
          )
   select distinct HELM_USER.USER_ID, G.USER_ID
     from HELM_USER, HELM_USER as G
     where HELM_USER.type = 'base'
       and HELM_USER.LOGIN_NAME != 'root'
       and HELM_USER.LOGIN_NAME != 'guest'
       and G.REAL_NAME = '*Users for domain'
;

insert into HELM_USER_USERGROUP
          ( USER_ID,
            USER_GROUP_ID
          )
   select distinct HELM_USER.USER_ID, G.USER_ID
     from HELM_USER, HELM_USER as G
     where HELM_USER.LOGIN_NAME = 'root'
       and G.REAL_NAME = '**Users for host'
;


#guest is explicity given a role, it shuld not get anything via groups

#insert into HELM_USER_USERGROUP
#          ( USER_ID,
#            USER_GROUP_ID
#          )
#   select distinct User.USER_ID, G.USER_ID
#     from HELM_USER, HELM_USER as G
#     where User.LOGIN_NAME = 'guest'
#       and G.NAME = '**Users for host'
#;

@


1.3
log
@refined guest login support
@
text
@d6 2
a7 2
          ( userID,
            userGroupID
d9 6
a14 6
   select distinct User.userID, G.userID
     from User, User as G
     where User.type = 'base'
       and User.loginID != 'root'
       and User.loginID != 'guest'
       and G.name = '*Users for domain'
d18 2
a19 2
          ( userID,
            userGroupID
d21 4
a24 4
   select distinct User.userID, G.userID
     from User, User as G
     where User.loginID = 'root'
       and G.name = '**Users for host'
d31 2
a32 2
#          ( userID,
#            userGroupID
d34 4
a37 4
#   select distinct User.userID, G.userID
#     from User, User as G
#     where User.loginID = 'guest'
#       and G.name = '**Users for host'
@


1.3.4.1
log
@correctly capitalized autoIncrement
@
text
@d6 2
a7 2
          ( USER_ID,
            USER_GROUP_ID
d9 6
a14 6
   select distinct HELM_USER.USER_ID, G.USER_ID
     from HELM_USER, HELM_USER as G
     where HELM_USER.type = 'base'
       and HELM_USER.LOGIN_NAME != 'root'
       and HELM_USER.LOGIN_NAME != 'guest'
       and G.REAL_NAME = '*Users for domain'
d18 2
a19 2
          ( USER_ID,
            USER_GROUP_ID
d21 4
a24 4
   select distinct HELM_USER.USER_ID, G.USER_ID
     from HELM_USER, HELM_USER as G
     where HELM_USER.LOGIN_NAME = 'root'
       and G.REAL_NAME = '**Users for host'
d31 2
a32 2
#          ( USER_ID,
#            USER_GROUP_ID
d34 4
a37 4
#   select distinct User.USER_ID, G.USER_ID
#     from HELM_USER, HELM_USER as G
#     where User.LOGIN_NAME = 'guest'
#       and G.NAME = '**Users for host'
@


1.2
log
@Addded guest user.
@
text
@d13 1
d27 13
a39 9
insert into HELM_USER_USERGROUP
          ( userID,
            userGroupID
          )
   select distinct User.userID, G.userID
     from User, User as G
     where User.loginID = 'guest'
       and G.name = '**Users for host'
;
@


1.1
log
@Initial revision
@
text
@d25 10
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d6 2
a7 2
          ( USER_ID,
            USER_GROUP_ID
d9 5
a13 6
   select distinct HELM_USER.USER_ID, G.USER_ID
     from HELM_USER, HELM_USER as G
     where HELM_USER.type = 'base'
       and HELM_USER.LOGIN_NAME != 'root'
       and HELM_USER.LOGIN_NAME != 'guest'
       and G.REAL_NAME = '*Users for domain'
d17 2
a18 2
          ( USER_ID,
            USER_GROUP_ID
d20 4
a23 4
   select distinct HELM_USER.USER_ID, G.USER_ID
     from HELM_USER, HELM_USER as G
     where HELM_USER.LOGIN_NAME = 'root'
       and G.REAL_NAME = '**Users for host'
a24 14


#guest is explicity given a role, it shuld not get anything via groups

#insert into HELM_USER_USERGROUP
#          ( USER_ID,
#            USER_GROUP_ID
#          )
#   select distinct User.USER_ID, G.USER_ID
#     from HELM_USER, HELM_USER as G
#     where User.LOGIN_NAME = 'guest'
#       and G.NAME = '**Users for host'
#;

@

