head	1.15;
access;
symbols
	TIGRIS_1_1_0RC2:1.13
	TIGRIS_1_1_0RC1:1.13
	TIGRIS_1_1:1.13.0.4
	TIGRIS_1_0_8:1.13
	TIGRIS_1_0_8RC3:1.13
	TIGRIS_1_0_8RC2:1.13
	TIGRIS_1_0_8RC1:1.13
	TIGRIS_1_0_7:1.13
	TIGRIS_1_0_7RC3:1.13
	TIGRIS_1_0_7RC2:1.13
	TIGRIS_1_0_7RC1:1.13
	TIGRIS_1_0_6:1.13
	TIGRIS_1_0_6RC5:1.13
	TIGRIS_1_0_6RC4:1.13
	TIGRIS_1_0_6RC3:1.13
	TIGRIS_1_0_6RC2:1.13
	TIGRIS_1_0_6RC1:1.13
	TIGRIS_1_0_5:1.13
	TIGRIS_1_0_5RC6:1.13
	TIGRIS_1_0_5RC5:1.13
	TIGRIS_1_0_5RC4:1.13
	TIGRIS_1_0_5RC3:1.13
	TIGRIS_1_0_5RC2:1.13
	TIGRIS_1_0_5RC1:1.13
	TIGRIS_1_0_4:1.13
	TIGRIS_1_0_3:1.13
	TIGRIS_1_0_2:1.13
	TIGRIS_1_0_1:1.13
	TIGRIS_1_0:1.13.0.6
	TIGRIS_1_0_0:1.13
	TIGRIS_1_0_0_RC1:1.13.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.2.4.1
	TIGRIS_0_9_2_3:1.2.4.1
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.3
	TIGRIS_0_9_2_1:1.3
	TIGRIS_0_9_2:1.2.0.4
	TIGRIS_0_9_0:1.2.0.2;
locks; strict;
comment	@# @;


1.15
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.14;

1.14
date	2001.05.01.21.47.22;	author leonardr;	state Exp;
branches;
next	1.13;

1.13
date	2001.03.27.08.12.34;	author jrobbins;	state Exp;
branches;
next	1.12;

1.12
date	2001.03.26.23.58.00;	author caitlyn;	state Exp;
branches;
next	1.11;

1.11
date	2001.03.24.09.06.04;	author jrobbins;	state Exp;
branches;
next	1.10;

1.10
date	2001.03.24.08.39.49;	author jrobbins;	state Exp;
branches;
next	1.9;

1.9
date	2001.03.22.20.18.32;	author caitlyn;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.13.21.17.20;	author leonardr;	state Exp;
branches;
next	1.7;

1.7
date	2001.03.05.19.38.25;	author leonardr;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.05.17.41.25;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.21.01.08.32;	author dlr;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.08.20.37.35;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.22.23.50.05;	author leonardr;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2000.12.08.16.59.43;	author leonardr;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2000.12.08.04.22.40;	author jrobbins;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.02.21.00.37.01;	author dlr;	state Exp;
branches;
next	;

1.2.4.1
date	2001.01.22.23.55.44;	author leonardr;	state Exp;
branches;
next	;

1.3.2.1
date	2001.02.02.19.27.46;	author leonardr;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2001.02.17.19.13.50;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Removed WM templates in favor of Velocity templates.
@
text
@#parse "$BRAND_TEMPLATE_ROOT/Admin_Nav.wm"

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0">
  <tr>
    <td class="Header" colspan="7">Add Role</td>
  </tr>

  <tr>
    <td CLASS="PlainTextBold" NOWRAP> Role Type: </td>

    #if ($type ==  "Host") {
      <td CLASS="PlainTextBold" BGCOLOR="#cccccc"  align="CENTER" NOWRAP>Host</td>
    }
    #else {
      <td CLASS="PlainText"  BGCOLOR="#efefef" align="CENTER" NOWRAP><a href="/servlets/RoleAdd?type=Host">Host</a></td>
    }

   <td CLASS="PlainTextBold" width="1"><SPACER type="BLOCK" width="1"></td>


    #if ($type ==  "Domain") {
      <td CLASS="PlainTextBold" BGCOLOR="#cccccc" align="CENTER"  NOWRAP>Domain</td>
    }
    #else {
      <td CLASS="PlainText" BGCOLOR="#efefef" align="CENTER"  NOWRAP><a href="/servlets/RoleAdd?type=Domain">Domain</a></td>
    }
   <td CLASS="PlainTextBold" width="1"><SPACER type="BLOCK" width="1"></td>

    #if ($type ==  "Project") {
      <td CLASS="PlainTextBold" BGCOLOR="#cccccc" align="CENTER"  NOWRAP>Project</td>
    }
    #else {
      <td CLASS="PlainText"  BGCOLOR="#efefef" align="CENTER" NOWRAP><a href="/servlets/RoleAdd?type=Project">Project</a></td>
    }

     <td width="100%" class="PlainText" align="RIGHT"> 

     </td>
  </tr>
  <tr>
    <td COLSPAN="7" BGCOLOR="#cccccc" CLASS="PlainText">
    #if ($type ==  "Host") {
      Host roles help maintain the hosting hardware and oversee all hosted domains. 
    }

    #if ($type ==  "Domain") {
      Domain roles configure the domain and oversee all activity within it.
    }

    #if ($type ==  "Project") {
      Project roles define the permissions of participants in individual project workspaces.
    }
   </td>
  </tr>
</TABLE>


<FORM ACTION="RoleAdd" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<INPUT TYPE="hidden" NAME="type" VALUE="$type">

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" >
  <TR> 
    <TD colspan="3"><span class="Asterisk">*</span> <span class="PlainText">Required fields</span></TD> 
  </TR> 
  <TR>
    <TD VALIGN="middle"><span class="Asterisk">*</span></TD> 
    <TD VALIGN="middle" class="InputHeader" NOWRAP>Name:</TD>
    <TD><INPUT TYPE="TEXT" NAME="name" VALUE="$name" SIZE="30" LENGTH="99"></TD>
  </TR>

  <TR>
    <TD VALIGN="middle"><span class="Asterisk">*</span></TD> 
    <TD VALIGN="middle" class="InputHeader" NOWRAP>Description:</TD>
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="30" LENGTH="99"></TD>
  </TR>


 #foreach $attribute in $host.getRoleAttributes()
 {
  <TR>
   <TD class="PlainText" colspan="3">
    <INPUT TYPE="CHECKBOX" NAME="ROLE-ATTRIBUTE $attribute.getName()"
    #if ($attribute.getDefaultValue().equals("Y"))
    {
     CHECKED
    }
    > $attribute.getDescription()</TD>
  </TR>
 }

</TABLE>

  #set $resources=$host.getResources()
  #set $hostActions=$host.getHostActions()
  #set $domainActions=$host.getDomainActions()
  #set $projectActions=$host.getProjectActions()

<br>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" width="100%">
  #if ($type.equals("Host"))
  {
  <TR>
    <TD CLASS="SmallHeader" colspan="6">Host Permissions:</TD>
  </TR>

  <TR>
    <TD width="20" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Add</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD width="500" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Action</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD width="100" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Resource</TD>
    <TD WIDTH="100%" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="1"></TD>
  </TR>
   #foreach $action in $hostActions
   {
    <TR>
    <TD><INPUT TYPE="CHECKBOX" ALIGN="right" NAME="Add $action.getID()"></TD>
    <td></td>
    <TD class="PlainText" width="300" nowrap>$action.getName()</TD>
    <td></td>
    <TD class="PlainText">
    #if ($action.takesResource())
    {
    <SELECT SIZE="1" NAME="Resource For $action.getID()">
     #foreach $resource in $resources
     {
      <OPTION VALUE=$resource.getID()>$resource.getPattern()</OPTION>
     }
     </SELECT>
    } 
    #else
    {
     <INPUT TYPE="hidden" NAME="Resource for $action.getID()" VALUE="1">
    }
    </TD>
    <TD WIDTH="100%"><SPACER TYPE="block" WIDTH="1"></TD>
   </tr>
  <TR>
   <TD COLSPAN="6">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>

   }
   <tr><td colspan="6"><hr size="1" noshade></td></tr>
  }

  #if ($type.equals("Host") || $type.equals("Domain")) 
  {
  <TR>
    <TD CLASS="SmallHeader" colspan="6">Domain Permissions:</TD>
  </TR>

  <TR>
    <TD width="20" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Add</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD width="500" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Action</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD width="100" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Resource</TD>
    <TD WIDTH="100%" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="1"></TD>
  </TR>
   #foreach $action in $domainActions
   {
    <TR>
    <TD><P><INPUT TYPE="CHECKBOX" ALIGN="right" NAME="Add $action.getID()"></TD>
    <td></td>
    <TD class="PlainText" nowrap>$action.getName()</TD>
    <td></td>
    <TD>
    #if ($action.takesResource())
    {
     <SELECT SIZE="1" NAME="Resource For $action.getID()">
     #foreach $resource in $resources
     {
      <OPTION VALUE=$resource.getID()>$resource.getPattern()</OPTION>
     }
     </SELECT>
    }
    #else
    {
     <INPUT TYPE="hidden" NAME="Resource for $action.getID()" VALUE="1">
    }
   </TD>
    <TD WIDTH="100%"><SPACER TYPE="block" WIDTH="1"></TD>
</TR>
  <TR>
   <TD COLSPAN="6">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>
   } 
   <tr><td colspan="6"><hr size="1" noshade></td></tr>
  }

  <TR>
    <TD CLASS="SmallHeader" colspan="6">Project Permissions:</TD>
  </TR>


  <TR>
    <TD width="20" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Add</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD width="500" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Action</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD width="100" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Resource</TD>
    <TD WIDTH="100%" bgcolor="efefef"><SPACER TYPE="block" WIDTH="1"></TD>
  </TR>

  #foreach $action in $projectActions
  {
   <TR>
   <TD><P><INPUT TYPE="CHECKBOX" ALIGN="right" NAME="Add $action.getID()"></TD>
   <td></td>
   <TD class="PlainText" nowrap>$action.getName()</TD>
   <td></td>
   <TD>
   #if ($action.takesResource())
   {
    <SELECT SIZE=1 NAME="Resource For $action.getID()">
    #foreach $resource in $resources
    {
     <OPTION VALUE="$resource.getID()">$resource.getPattern()</OPTION>
    }
    </SELECT>
   }
   #else
   {
    <INPUT TYPE="hidden" NAME="Resource for $action.getID()" VALUE="1">
   }
  </TD>
    <TD WIDTH="100%"><SPACER TYPE="block" WIDTH="1"></TD>
</TR>
  <TR>
   <TD COLSPAN="6">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>

  } 

  <TR>
    <TD colspan="6"><INPUT type="Submit" name="Button" value="Create Role"></TD>
  </TR>
</TABLE>
</form>
@


1.14
log
@Big architecture and schema change: booleans in the HELM_ROLE table have been replaced by entries in the HELM_ROLE_ATTRIBUTE_VALUE table. Also, a new attribute has been added which controls which roles a user gets upon creation of a project.
@
text
@@


1.13
log
@html layout tweaks
@
text
@d77 3
d81 7
a87 1
    <TD class="PlainText" colspan="3"><INPUT TYPE="CHECKBOX" NAME="requestable" VALUE="on"> Allow users to request this role?</TD>
a88 11
  <TR>
    <TD class="PlainText" colspan="3"><INPUT TYPE="CHECKBOX" NAME="ownership" VALUE="off"> Should someone with this role be considered an "owner" of the
#if ($type.equals("Host"))
{
 host?
} #else {
 #if ($type.equals("Domain"))
 {
  associated domain?
 } #else {
  associated project?
d90 1
a90 3
}
</TD>
  </TR>
@


1.12
log
@fixed width not being 100% issue.



PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d176 1
a176 1
    <TD class="PlainText">$action.getName()</TD>
d227 1
a227 1
   <TD class="PlainText">$action.getName()</TD>
@


1.11
log
@added much needed admin nav element
@
text
@d104 1
a104 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2">
d108 1
a108 2
    <TD CLASS="SmallHeader" colspan="2">Host Permissions:</TD>
    <TD CLASS="PlainText" colspan="3"></TD>
d114 1
a114 1
    <TD width="300" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Action</TD>
d117 1
d122 1
a122 1
    <TD width="10"><INPUT TYPE="CHECKBOX" ALIGN="right" NAME="Add $action.getID()"></TD>
d124 1
a124 1
    <TD class="PlainText">$action.getName()</TD>
d141 1
d144 1
a144 1
   <TD COLSPAN="5">
d154 1
a154 1
   <tr><td colspan="5"><hr size="1" noshade></td></tr>
d160 1
a160 2
    <TD CLASS="SmallHeader" colspan="2">Domain Permissions:</TD>
    <TD CLASS="PlainText" colspan="3"></TD>
d166 1
a166 1
    <TD width="300" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Action</TD>
d169 1
d192 3
a194 1
   </TD></TR>
d196 1
a196 1
   <TD COLSPAN="5">
d205 1
a205 1
   <tr><td colspan="5"><hr size="1" noshade></td></tr>
d209 1
a209 2
    <TD CLASS="SmallHeader" colspan="2">Project Permissions:</TD>
    <TD CLASS="PlainText" colspan="3"></TD>
d216 1
a216 1
    <TD width="300" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Action</TD>
d219 1
d243 3
a245 1
  </TD></TR>
d247 1
a247 1
   <TD COLSPAN="5">
d259 1
a259 1
    <TD colspan="3"><INPUT type="Submit" name="Button" value="Create Role"></TD>
@


1.10
log
@added style, spacing, divider lines, moved a few links around on the pages
@
text
@d1 2
@


1.9
log
@changed the formatting of the columns.


PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d1 34
a34 3
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Add $type Role
d36 7
a42 4
#if (!$type.equals("Host"))
{
 <a href="RoleAdd?type=Host">Add Host Role</a>
}
d44 3
a46 4
#if (!$type.equals("Domain"))
{
 <a href="RoleAdd?type=Domain">Add Domain Role</a>
}
d48 5
a52 6
#if (!$type.equals("Project"))
{
 <a href="RoleAdd?type=Project">Add Project Role</a>
}
</TD>
  </TR>
d55 1
d58 2
a59 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2">
d76 1
a76 1
    <TD COLSPAN=3><INPUT TYPE="CHECKBOX" NAME="requestable" VALUE="on"> Allow users to request this role?</TD>
d79 1
a79 1
    <TD COLSPAN=3><INPUT TYPE="CHECKBOX" NAME="ownership" VALUE="off"> Should someone with this role be considered an "owner" of the
a94 8

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2">
  <TR>
    <TD width="20" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Add&nbsp;</TD>
    <TD width="300" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Action</B></TD>
    <TD width="100" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Resource</B></TD>
  </TR>

d99 4
d105 12
d121 4
a124 1
    <TD>$action.getName()</TD>
d127 1
a127 1
     <TD><SELECT SIZE="1" NAME="Resource For $action.getID()">
d132 1
a132 1
     </SELECT></TD></TR>
d138 12
d151 1
a151 1
   <tr><td colspan="3"><hr></td></tr>
d156 12
d172 4
a175 1
    <TD>$action.getName()</TD>
d178 1
a178 1
     <TD><SELECT SIZE="1" NAME="Resource For $action.getID()">
d183 1
d189 10
a198 1
    </SELECT></TD></TR>
d200 1
a200 1
   <tr><td colspan="3"><hr></td></tr>
d203 14
d221 4
a224 1
   <TD>$action.getName()</TD>
d227 1
a227 1
    <TD><SELECT SIZE=1 NAME="Resource For $action.getID()">
d232 1
a232 1
    </SELECT></TD></TR>
d238 10
a253 1

d255 1
@


1.8
log
@Don't show resources for actions that don't take them.
@
text
@d30 3
a32 3
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Name:</TD>
    <TD><INPUT TYPE="TEXT" NAME="name" VALUE="$name" SIZE="50" LENGTH="99"></TD>
d36 3
a38 3
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Description:</TD>
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="50" LENGTH="99"></TD>
d60 2
d64 3
a66 3
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Add</TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>&nbsp;Action</B></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Resource</B></TD>
d78 1
a78 1
    <TD><P><INPUT TYPE="CHECKBOX" ALIGN="right" NAME="Add $action.getID()"></TD>
d143 1
a143 1
    <TD><INPUT type="Submit" name="Button" value="Create Role"></TD>
@


1.7
log
@Corrected bad link and put in <hr>s to separate types of action.
@
text
@d78 10
a87 2
    <TD><SELECT SIZE="1" NAME="Resource For $action.getID()">
    #foreach $resource in $resources
d89 1
a89 1
     <OPTION VALUE=$resource.getID()>$resource.getPattern()</OPTION>
a90 1
    </SELECT></TD></TR>
d102 9
a110 2
    <TD><SELECT SIZE="1" NAME="Resource For $action.getID()">
    #foreach $resource in $resources
d112 1
a112 1
     <OPTION VALUE=$resource.getID()>$resource.getPattern()</OPTION>
d124 1
a124 2
   <TD><SELECT SIZE=1 NAME="Resource For $action.getID()">
   #foreach $resource in $resources
d126 6
a131 1
    <OPTION VALUE="$resource.getID()">$resource.getPattern()</OPTION>
d133 5
a137 1
   </SELECT></TD></TR>
@


1.6
log
@Fixed wording and cleaned up HTML.
@
text
@d17 1
a17 1
 <a href="RoleAdd?type=Domain">Add Project Role</a>
d85 1
d102 1
@


1.5
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d42 1
a42 1
    <TD COLSPAN=2><INPUT TYPE="CHECKBOX" NAME="requestable" VALUE="on"> Allow users to request this role?</TD>
d45 2
a46 2
    <TD COLSPAN=2><INPUT TYPE="CHECKBOX" NAME="ownership" VALUE="off"> Should someone with this role be considered an "owner" of the
#if (!$type.equals("Host"))
d50 1
a50 1
 #if (!$type.equals("Domain"))
d59 2
a60 1

a65 1
</TABLE>
a66 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2">
@


1.4
log
@Added a new field to the Role table: ownership. This designates whether someone who has the role in the project/domain/host is the sort of person who gets emails when something happens that affects the project/domain/host.
@
text
@d68 4
a71 4
  #set $resources=$currentDomain.getResources()
  #set $hostActions=$currentDomain.getHostActions()
  #set $domainActions=$currentDomain.getDomainActions()
  #set $projectActions=$currentDomain.getProjectActions()
@


1.3
log
@Mantain role type so that non-project roles can actually be created.
@
text
@d44 15
d121 1
a121 1
</TABLE>@


1.3.2.1
log
@Ported RoleAdd servlet and infrastructure for same.
@
text
@d53 4
a56 4
  #set $resources=$host.getResources()
  #set $hostActions=$host.getHostActions()
  #set $domainActions=$host.getDomainActions()
  #set $projectActions=$host.getProjectActions()
@


1.3.2.2
log
@Ported changes from head.
@
text
@a43 15
  <TR>
    <TD COLSPAN=2><INPUT TYPE="CHECKBOX" NAME="ownership" VALUE="off"> Should someone with this role be considered an "owner" of the
#if (!$type.equals("Host"))
{
 host?
} #else {
 #if (!$type.equals("Domain"))
 {
  associated domain?
 } #else {
  associated project?
 }
}
</TD>
  </TR>
d106 1
a106 1
</TABLE>
@


1.2
log
@RoleAdd can now set all the fields in Helm's role table.
@
text
@d24 1
@


1.2.4.1
log
@Maintain role type so that non-project roles can be created (port of previous patch to branch)
@
text
@a23 1
<INPUT TYPE="hidden" NAME="type" VALUE="$type">
@


1.1
log
@initial
@
text
@d63 1
a63 1
    <TD><SELECT WIDTH="1">
d66 1
a66 1
     <OPTION NAME="Resource For $action.getID()" VALUE=$resource.getID()>
d79 1
a79 1
    <TD><SELECT WIDTH="1">
d82 1
a82 1
     <OPTION NAME="Resource For $action.getID()" VALUE=$resource.getID()>
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a23 1
<INPUT TYPE="hidden" NAME="type" VALUE="$type">
a42 15
  <TR>
    <TD COLSPAN=2><INPUT TYPE="CHECKBOX" NAME="ownership" VALUE="off"> Should someone with this role be considered an "owner" of the
#if (!$type.equals("Host"))
{
 host?
} #else {
 #if (!$type.equals("Domain"))
 {
  associated domain?
 } #else {
  associated project?
 }
}
</TD>
  </TR>
d52 4
a55 4
  #set $resources=$host.getResources()
  #set $hostActions=$host.getHostActions()
  #set $domainActions=$host.getDomainActions()
  #set $projectActions=$host.getProjectActions()
d63 1
a63 1
    <TD><SELECT SIZE="1" NAME="Resource For $action.getID()">
d66 1
a66 1
     <OPTION VALUE=$resource.getID()>$resource.getPattern()</OPTION>
d79 1
a79 1
    <TD><SELECT SIZE="1" NAME="Resource For $action.getID()">
d82 1
a82 1
     <OPTION VALUE=$resource.getID()>$resource.getPattern()</OPTION>
d105 1
a105 1
</TABLE>
@


