Author: arkurth
Date: Mon Sep 28 20:16:05 2009
New Revision: 819704

URL: http://svn.apache.org/viewvc?rev=819704&view=rev
Log:
VCL-135
Updated the value for the "Granting Access to a New Image/Environment" row in 
the documentation table. Changed a link pointing to the "Resources" 
documentation page from an absolute NCSU URL to a relative URL.

Modified:
    incubator/vcl/trunk/mysql/vcl.sql

Modified: incubator/vcl/trunk/mysql/vcl.sql
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/mysql/vcl.sql?rev=819704&r1=819703&r2=819704&view=diff
==============================================================================
--- incubator/vcl/trunk/mysql/vcl.sql (original)
+++ incubator/vcl/trunk/mysql/vcl.sql Mon Sep 28 20:16:05 2009
@@ -1147,7 +1147,7 @@
 -- 
 
 INSERT INTO `documentation` (`name`, `title`, `data`) VALUES 
-('GrantingAccesstoaNewImageEnvironment1', 'Granting Access to a New 
Image/Environment', '<div id="docbullets">\r\n<h2>Overview</h2>\r\n<p>Once you 
have created a new image, there are a few things you have to do to allow other 
people to use it.&nbsp; If you don''t have access to do any of the following 
steps, you will need to get a VCL administrator to do them for 
you.</p>\r\n<p>When you create a new image, it is only available to you, and it 
is only allowed to be run on a few computers that have been set aside for the 
testing of new images.</p>\r\n<h2>Step 1: Image Mapping</h2>\r\n<p>Images are 
mapped to be run on a set of computers. See the documentation on <a 
href="https://vcl.ncsu.edu/scheduling/index.php?mode=viewdocs&amp;item=Resources";><span
 style="color: rgb(255, 0, 0);"><b>Resources</b></span></a> to learn more about 
why this is done. For your new image to be able to run on more computers than 
just those designated for testing, you need to map it to a set of computer
 s. There are a few steps to this process:</p>\r\n<ol>\r\n    <li>You need to 
make your image a member of an image group\r\n    <ul>\r\n        <li>Select 
<span style="color: rgb(0, 0, 255);">Manage Images</span>-&gt;<span 
style="color: rgb(0, 0, 255);">Edit Image Grouping</span></li>\r\n        
<li>Select your image from the drop down box and click <span style="color: 
rgb(0, 0, 255);">Get Groups</span></li>\r\n        <li>Choose one or more image 
groups to which you would like to add the image from the box on the 
right</li>\r\n        <li>Click <span style="color: rgb(0, 0, 
255);">&lt;-Add</span> to make the image a member of the group(s)</li>\r\n    
</ul>\r\n    </li>\r\n    <li>You need to map the image group(s) you selected 
in step 1 to one or more computer groups\r\n    <ul>\r\n        <li>Select 
<span style="color: rgb(0, 0, 255);">Manage Images</span>-&gt;<span 
style="color: rgb(0, 0, 255);">Edit Image Mapping</span></li>\r\n        <li>Do 
the following for each group 
 from step 1:<br />\r\n        <ul>\r\n            <li>Select the image group 
from the drop down box and click <span style="color: rgb(0, 0, 255);">Get 
Computer Groups</span></li>\r\n            <li>Choose one or more computer 
groups to which you would like to map the image group from the box on the 
right</li>\r\n            <li>click <span style="color: rgb(0, 0, 
255);">&lt;-Add</span> to make map the image group to the computer 
group(s)</li>\r\n        </ul>\r\n        </li>\r\n        <li>Note: there is 
an assumption here that the computer groups you selected already have computers 
that are in those groups</li>\r\n    </ul>\r\n    </li>\r\n</ol>\r\n<h2>Step 2: 
Privileges</h2>\r\n<p>Now, you need to grant access to use the image to a user 
or group of users under the Privileges section of the site.&nbsp; Here are the 
steps involved:</p>\r\n<ol>\r\n    <li>Select <span style="color: rgb(0, 0, 
255);">Privileges</span></li>\r\n    <li>Choose an existing node or create a 
new nod
 e in the tree structure in the upper portion of the page where you would like 
to assign the user(s) access</li>\r\n    <li>Now, you need to grant the user 
<span style="color: rgb(0, 0, 255);">imageCheckOut</span> at the node.&nbsp; 
You can do this for an individual user or a group of users.\r\n    <ul>\r\n     
   <li>Individual User:\r\n        <ul>\r\n            <li>Click <span 
style="color: rgb(0, 0, 255);">Add User</span></li>\r\n            <li>Enter 
the user''s id in the text box and select the <span style="color: rgb(0, 0, 
255);">imageCheckOut</span> checkbox</li>\r\n            <li>Click <span 
style="color: rgb(0, 0, 255);">Submit New User</span></li>\r\n        </ul>\r\n 
       </li>\r\n        <li>User Group:\r\n        <ul>\r\n            
<li>Click <span style="color: rgb(0, 0, 255);">Add Group</span></li>\r\n        
    <li>Select the user group from the drop-down box and select the <span 
style="color: rgb(0, 0, 255);">imageCheckOut</span> checkbox</li>\r\n      
       <li>Click <span style="color: rgb(0, 0, 255);">Submit New User 
Group</span></li>\r\n        </ul>\r\n        </li>\r\n    </ul>\r\n    
</li>\r\n    <li>Next, you need to make sure the image group in which you 
placed the image in step 1 of <b>Image Mapping</b> is available at this node. 
If it is, go on to the next step, if not:\r\n    <ul>\r\n        <li>Click 
<span style="color: rgb(0, 0, 255);">Add Resource Group</span></li>\r\n        
<li>Select the image group from the drop-down box and select the <span 
style="color: rgb(0, 0, 255);">available</span> checkbox</li>\r\n        
<li>Click <span style="color: rgb(0, 0, 255);">Submit New Resource 
Group</span></li>\r\n    </ul>\r\n    </li>\r\n    <li>Finally, you need to 
make sure the computer group(s) selected in step 2 of <b>Image Mapping</b> are 
also available here. If so, you are finished.&nbsp; If not:\r\n    <ul>\r\n     
   <li>Click <span style="color: rgb(0, 0, 255);">Add Resource 
Group</span></li>\r\n        <li>
 Select the computer group from the drop-down box and select the <span 
style="color: rgb(0, 0, 255);">available</span> checkbox</li>\r\n        
<li>Click <span style="color: rgb(0, 0, 255);">Submit New Resource 
Group</span></li>\r\n    </ul>\r\n    </li>\r\n</ol>\r\n<p>Now, the user or 
user groups you have added to this node will be able to make reservations for 
the new image.</p>\r\n</div>'),
+('GrantingAccesstoaNewImageEnvironment1', 'Granting Access to a New 
Image/Environment', '<div id="docbullets">\r\n<h2>Overview</h2>\r\n<p>Once you 
have created a new image, there are a few things you have to do to allow other 
people to use it.&nbsp; If you don''t have access to do any of the following 
steps, you will need to get a VCL administrator to do them for 
you.</p>\r\n<p>When you create a new image, it is only available to you, and it 
is only allowed to be run on a few computers that have been set aside for the 
testing of new images.</p>\r\n<h2>Step 1: Image Mapping</h2>\r\n<p>Images are 
mapped to be run on a set of computers. See the documentation on <a 
href="index.php?mode=viewdocs&amp;item=Resources"><span style="color: rgb(255, 
0, 0);"><b>Resources</b></span></a> to learn more about why this is done. For 
your new image to be able to run on more computers than just those designated 
for testing, you need to map it to a set of computers. There are a few steps to 
this
  process:</p>\r\n<ol>\r\n    <li>You need to make your image a member of an 
image group\r\n    <ul>\r\n        <li>Select <span style="color: rgb(0, 0, 
255);">Manage Images</span>-&gt;<span style="color: rgb(0, 0, 255);">Edit Image 
Grouping</span></li>\r\n        <li>Select your image from the drop down box 
and click <span style="color: rgb(0, 0, 255);">Get Groups</span></li>\r\n       
 <li>Choose one or more image groups to which you would like to add the image 
from the box on the right</li>\r\n        <li>Click <span style="color: rgb(0, 
0, 255);">&lt;-Add</span> to make the image a member of the group(s)</li>\r\n   
 </ul>\r\n    </li>\r\n    <li>You need to map the image group(s) you selected 
in step 1 to one or more computer groups\r\n    <ul>\r\n        <li>Select 
<span style="color: rgb(0, 0, 255);">Manage Images</span>-&gt;<span 
style="color: rgb(0, 0, 255);">Edit Image Mapping</span></li>\r\n        <li>Do 
the following for each group from step 1:<br />\r\n        <u
 l>\r\n            <li>Select the image group from the drop down box and click 
<span style="color: rgb(0, 0, 255);">Get Computer Groups</span></li>\r\n        
    <li>Choose one or more computer groups to which you would like to map the 
image group from the box on the right</li>\r\n            <li>click <span 
style="color: rgb(0, 0, 255);">&lt;-Add</span> to make map the image group to 
the computer group(s)</li>\r\n        </ul>\r\n        </li>\r\n        
<li>Note: there is an assumption here that the computer groups you selected 
already have computers that are in those groups</li>\r\n    </ul>\r\n    
</li>\r\n</ol>\r\n<h2>Step 2: Privileges</h2>\r\n<p>Now, you need to grant 
access to use the image to a user or group of users under the Privileges 
section of the site.&nbsp; Here are the steps involved:</p>\r\n<ol>\r\n    
<li>Select <span style="color: rgb(0, 0, 255);">Privileges</span></li>\r\n    
<li>Choose an existing node or create a new node in the tree structure in the u
 pper portion of the page where you would like to assign the user(s) 
access</li>\r\n    <li>Now, you need to grant the user <span style="color: 
rgb(0, 0, 255);">imageCheckOut</span> at the node.&nbsp; You can do this for an 
individual user or a group of users.\r\n    <ul>\r\n        <li>Individual 
User:\r\n        <ul>\r\n            <li>Click <span style="color: rgb(0, 0, 
255);">Add User</span></li>\r\n            <li>Enter the user''s id in the text 
box and select the <span style="color: rgb(0, 0, 255);">imageCheckOut</span> 
checkbox</li>\r\n            <li>Click <span style="color: rgb(0, 0, 
255);">Submit New User</span></li>\r\n        </ul>\r\n        </li>\r\n        
<li>User Group:\r\n        <ul>\r\n            <li>Click <span style="color: 
rgb(0, 0, 255);">Add Group</span></li>\r\n            <li>Select the user group 
from the drop-down box and select the <span style="color: rgb(0, 0, 
255);">imageCheckOut</span> checkbox</li>\r\n            <li>Click <span 
style="col
 or: rgb(0, 0, 255);">Submit New User Group</span></li>\r\n        </ul>\r\n    
    </li>\r\n    </ul>\r\n    </li>\r\n    <li>Next, you need to make sure the 
image group in which you placed the image in step 1 of <b>Image Mapping</b> is 
available at this node. If it is, go on to the next step, if not:\r\n    
<ul>\r\n        <li>Click <span style="color: rgb(0, 0, 255);">Add Resource 
Group</span></li>\r\n        <li>Select the image group from the drop-down box 
and select the <span style="color: rgb(0, 0, 255);">available</span> 
checkbox</li>\r\n        <li>Click <span style="color: rgb(0, 0, 255);">Submit 
New Resource Group</span></li>\r\n    </ul>\r\n    </li>\r\n    <li>Finally, 
you need to make sure the computer group(s) selected in step 2 of <b>Image 
Mapping</b> are also available here. If so, you are finished.&nbsp; If not:\r\n 
   <ul>\r\n        <li>Click <span style="color: rgb(0, 0, 255);">Add Resource 
Group</span></li>\r\n        <li>Select the computer group from t
 he drop-down box and select the <span style="color: rgb(0, 0, 
255);">available</span> checkbox</li>\r\n        <li>Click <span style="color: 
rgb(0, 0, 255);">Submit New Resource Group</span></li>\r\n    </ul>\r\n    
</li>\r\n</ol>\r\n<p>Now, the user or user groups you have added to this node 
will be able to make reservations for the new image.</p>\r\n</div>'),
 ('OverviewofPrivileges-Whatpermissionsarerequiredtoaccesspartsofthesite', 
'Overview of Privileges - What permissions are required to access parts of the 
site', '<p>These are the privileges a user needs to access various parts of the 
VCL site. Unless specifically specified, a user must have both the <span 
style="color: rgb(0, 0, 255);">user<span style="color: rgb(0, 0, 0);"> and the 
<span style="color: rgb(255, 102, 0);">resource</span> permissions granted at 
the same node in the privilege tree.</span></span> &quot;<span style="color: 
rgb(0, 0, 255);">user</span>&quot; refers to privileges granted on the 
Privileges page either specifically to a user or to a group of which a user is 
a member. &quot;<span style="color: rgb(255, 102, 0);">resource</span>&quot; 
refers to privileges granted on the Privileges page to a resource group. 
Privileges can only be granted to resource groups; there is no way to grant 
privileges to a specific resource (image, computer, etc).</p>\r\n<h2>New 
 Reservation</h2>\r\n<p style="margin-left: 40px;">This shows up for everyone, 
but the following privileges must be granted to be able to actually make a 
reservation:</p>\r\n<p style="margin-left: 80px;"><span style="color: rgb(0, 0, 
255);">user<span style="color: rgb(0, 0, 0);"> - imageCheckOut</span></span><br 
/>\r\n<span style="color: rgb(255, 102, 0);">resource</span> - image group: 
available, computer group: available</p>\r\n<h2>Manage Groups</h2>\r\n<p 
style="margin-left: 40px;"><span style="color: rgb(0, 0, 255);">user <span 
style="color: rgb(0, 0, 0);">- groupAdmin is required to make this link show 
up</span></span></p>\r\n<h3 style="margin-left: 40px;">User Groups</h3>\r\n<p 
style="margin-left: 80px;">Groups a user owns and groups that are editable by 
groups a user is a member of show up in this section.</p>\r\n<h3 
style="margin-left: 40px;">Resource Groups</h3>\r\n<p style="margin-left: 
80px;">Groups owned by user groups a user is a member of show up here.&nbsp; Mor
 e groups show up when the following attribute is granted for a resource 
group:</p>\r\n<p style="margin-left: 80px;"><span style="color: rgb(255, 102, 
0);">resource<span style="color: rgb(0, 0, 0);"> - (any type) 
manageGroup</span></span></p>\r\n<h2>Manage Images</h2>\r\n<p 
style="margin-left: 40px;"><span style="color: rgb(0, 0, 255);">user</span> - 
imageAdmin is required to make this link show up</p>\r\n<h3 style="margin-left: 
40px;">Edit Image Information</h3>\r\n<p style="margin-left: 80px;"><span 
style="color: rgb(0, 0, 255);">user</span> - imageAdmin<br />\r\n<span 
style="color: rgb(255, 102, 0);">resource</span> - image group: 
administer</p>\r\n<h3 style="margin-left: 40px;">View Image Grouping</h3>\r\n<p 
style="margin-left: 80px;"><span style="color: rgb(0, 0, 255);">user</span> - 
imageAdmin<br />\r\n<span style="color: rgb(255, 102, 0);">resource</span> - 
image group: manageGroup</p>\r\n<h3 style="margin-left: 40px;">View Image 
Mapping</h3>\r\n<p style="margin-left: 
 80px;"><span style="color: rgb(0, 0, 255);">user</span> - imageAdmin<br 
/>\r\n<span style="color: rgb(255, 102, 0);">resource</span> - image group: 
manageGroup</p>\r\n<p style="margin-left: 80px;">at same or different 
node:</p>\r\n<p style="margin-left: 80px;"><span style="color: rgb(0, 0, 
255);">user</span> - computerAdmin<br />\r\n<span style="color: rgb(255, 102, 
0);">resource</span> - computer group: manageGroup</p>\r\n<h3 
style="margin-left: 40px;">Create New Image</h3>\r\n<p style="margin-left: 
80px;"><span style="color: rgb(0, 0, 255);">user</span> - imageAdmin<br 
/>\r\n<span style="color: rgb(255, 102, 0);">resource</span> - image group: 
available, computer group: available</p>\r\n<h2>Manage Schedules</h2>\r\n<p 
style="margin-left: 40px;"><span style="color: rgb(0, 0, 255);">user</span> - 
scheduleAdmin is required to make this link show up</p>\r\n<p 
style="margin-left: 40px;">All schedules owned by a user will show up by 
default.</p>\r\n<p style="margin-left: 40px;">
 To edit schedule information for other schedules, these permissions are 
required:</p>\r\n<p style="margin-left: 80px;"><span style="color: rgb(0, 0, 
255);">user</span> - scheduleAdmin<br />\r\n<span style="color: rgb(255, 102, 
0);">resource</span> - schedule group: administer</p>\r\n<h3 
style="margin-left: 40px;">Schedule Grouping</h3>\r\n<p style="margin-left: 
80px;"><span style="color: rgb(0, 0, 255);">user</span> - scheduleAdmin<br 
/>\r\n<span style="color: rgb(255, 102, 0);">resource</span> - schedule group: 
manageGroup</p>\r\n<h2>Manage Computers</h2>\r\n<p style="margin-left: 
40px;"><span style="color: rgb(0, 0, 255);">user</span> - computerAdmin is 
required to make this link show up</p>\r\n<p style="margin-left: 
40px;">Selection boxes for platforms and schedules only show up if a user has 
access to more than one platform or schedule.</p>\r\n<h3 style="margin-left: 
40px;">Edit Computer Grouping</h3>\r\n<p style="margin-left: 80px;"><span 
style="color: rgb(0, 0, 255);">
 user</span> - computerAdmin<br />\r\n<span style="color: rgb(255, 102, 
0);">resource</span> - computer group: manageGroup</p>\r\n<h3 
style="margin-left: 40px;">Computer Utilities</h3>\r\n<h4 style="margin-left: 
80px;">Reload computers with image</h4>\r\n<p style="margin-left: 120px;"><span 
style="color: rgb(0, 0, 255);">user</span> - computerAdmin<br />\r\n<span 
style="color: rgb(255, 102, 0);">resource</span> - computer group: 
administer</p>\r\n<p style="margin-left: 120px;">and at same or different 
node:</p>\r\n<p style="margin-left: 120px;"><span style="color: rgb(0, 0, 
255);">user</span> - imageCheckOut or imageAdmin<br />\r\n<span style="color: 
rgb(255, 102, 0);">resource</span> - image group: available</p>\r\n<h4 
style="margin-left: 80px;">Change state of computers</h4>\r\n<p 
style="margin-left: 120px;"><span style="color: rgb(0, 0, 255);">user</span> - 
computerAdmin<br />\r\n<span style="color: rgb(255, 102, 0);">resource</span> - 
computer group: administer</p>\r\n<h4
  style="margin-left: 80px;">Change schedule of computers</h4>\r\n<p 
style="margin-left: 120px;"><span style="color: rgb(0, 0, 255);">user</span> - 
computerAdmin<br />\r\n<span style="color: rgb(255, 102, 0);">resource</span> - 
computer group: administer</p>\r\n<p style="margin-left: 120px;">and at same or 
different node:</p>\r\n<p style="margin-left: 120px;"><span style="color: 
rgb(0, 0, 255);">user</span> - scheduleAdmin<br />\r\n<span style="color: 
rgb(255, 102, 0);">resource</span> - schedule group: manageGroup</p>\r\n<h3 
style="margin-left: 40px;">Edit Computer Information</h3>\r\n<p 
style="margin-left: 80px;"><span style="color: rgb(0, 0, 255);">user</span> - 
computerAdmin<br />\r\n<span style="color: rgb(255, 102, 0);">resource</span> - 
computer group: administer</p>\r\n<p style="margin-left: 80px;">and at same or 
different node:</p>\r\n<p style="margin-left: 80px;"><span style="color: rgb(0, 
0, 255);">user</span> - scheduleAdmin<br />\r\n<span style="color: rgb(255, 1
 02, 0);">resource</span> - schedule group: manageGroup</p>\r\n<p 
style="margin-left: 80px;">&nbsp;</p>\r\n<h2>Management Nodes</h2>\r\n<p 
style="margin-left: 40px;"><span style="color: rgb(0, 0, 255);">user</span> - 
mgmtNodeAdmin is required to make this link show up</p>\r\n<h3 
style="margin-left: 40px;">Edit Management Node Information</h3>\r\n<p 
style="margin-left: 80px;"><span style="color: rgb(0, 0, 255);">user</span> - 
mgmtNodeAdmin<br />\r\n<span style="color: rgb(255, 102, 0);">resource</span> - 
management node group: administer</p>\r\n<h3 style="margin-left: 40px;">Edit 
Management Node Grouping</h3>\r\n<p style="margin-left: 80px;"><span 
style="color: rgb(0, 0, 255);">user</span> - mgmtNodeAdmin<br />\r\n<span 
style="color: rgb(255, 102, 0);">resource</span> - management node group: 
manageGroup</p>\r\n<h3 style="margin-left: 40px;">Edit Management Node 
Mapping</h3>\r\n<p style="margin-left: 80px;"><span style="color: rgb(0, 0, 
255);">user</span> - mgmtNodeAdmin<br />
 \r\n<span style="color: rgb(255, 102, 0);">resource</span> - management node 
group: manageGroup</p>\r\n<p style="margin-left: 80px;">at same or different 
node:</p>\r\n<p style="margin-left: 80px;"><span style="color: rgb(0, 0, 
255);">user</span> - computerAdmin<br />\r\n<span style="color: rgb(255, 102, 
0);">resource</span> - computer group: 
manageGroup</p>\r\n<h2>Privileges</h2>\r\n<p style="margin-left: 40px;"><span 
style="color: rgb(0, 0, 255);">user</span> - nodeAdmin, userGrant, or 
resourceGrant is required to make this link show up</p>\r\n<h3 
style="margin-left: 40px;">Add Child / Delete Node and Children</h3>\r\n<p 
style="margin-left: 80px;"><span style="color: rgb(0, 0, 255);">user</span> - 
nodeAdmin</p>\r\n<h3 style="margin-left: 40px;">Add User / modify user 
privileges</h3>\r\n<p style="margin-left: 80px;"><span style="color: rgb(0, 0, 
255);">user</span> - userGrant</p>\r\n<h3 style="margin-left: 40px;">Add Group 
/ modify user group privileges</h3>\r\n<p style="mar
 gin-left: 80px;"><span style="color: rgb(0, 0, 255);">user</span> - 
userGrant</p>\r\n<h3 style="margin-left: 40px;">Add Resource Group / modify 
resource group privileges</h3>\r\n<p style="margin-left: 80px;"><span 
style="color: rgb(0, 0, 255);">user</span> - 
resourceGrant</p>\r\n<p>&nbsp;</p>'),
 ('Resources', 'Resources', '<h2>Overview</h2>\r\n<p>Computers, images, 
management nodes, and schedules have some very similar characteristics in how 
they are handled within the VCL site. Therefore, there are times where it is 
easier to refer to them all together as <b><span style="color: rgb(255, 0, 
0);">resources</span></b>. Here are some similarities between 
them:</p>\r\n<ul>\r\n    <li>They are all managed by adding them to <span 
style="color: rgb(255, 0, 0);"><b>resource groups</b></span>.&nbsp; All 
resource groups have a type associated with them such that only <span 
style="color: rgb(0, 0, 255);">images</span> can be part of an <span 
style="color: rgb(0, 0, 255);">image group</span>, only <span style="color: 
rgb(0, 0, 255);">computers</span> can be part of a <span style="color: rgb(0, 
0, 255);">computer group</span>, etc.</li>\r\n    <li>Resources of one type can 
be related to resources of certain other types through <span style="color: 
rgb(255, 0, 0);"><b>resource map
 ping</b></span>. <span style="color: rgb(0, 0, 255);">Image groups</span> and 
<span style="color: rgb(0, 0, 255);">computer groups</span> can be mapped 
together, and <span style="color: rgb(0, 0, 255);">management node</span><span 
style="color: rgb(0, 0, 255);"> groups</span> and&nbsp;<span style="color: 
rgb(0, 0, 255);">computer</span><span style="color: rgb(0, 0, 255);"> 
groups</span> can be mapped together.</li>\r\n    <li>Privileges over resources 
are only granted through resource groups.&nbsp; Privileges cannot be granted 
directly to a resource.</li>\r\n    <li>There is an <span style="color: 
rgb(255, 0, 0);"><b>Admin</b></span> privilege that can be granted to users for 
each type of resource: computerAdmin, imageAdmin, mgmtNodeAdmin, and 
scheduleAdmin</li>\r\n</ul>\r\n<h2>Grouping</h2>\r\n<p>The amount of images and 
computers that become part of a VCL install can grow very rappidly. Because of 
this, it is much easier to deal with them in groups rather than individually
 . The amount of schedules and management nodes does not typically grow very 
large. However, due to other similarities as resources, they are handled in 
groups as well.</p>\r\n<h2>Mapping</h2>\r\n<p>Mapping allows for tight control 
over how resources can be used together. Through image to computer mapping, one 
has tight control over which computers an image could end up being run. This 
can be used to control things like platform dependencies, to ensure only vm 
images get run on the correct type of vm computer, and to ensure an image 
containing software purchased by a specific group only gets run on computers 
owned by the same group (this can be handled with resource privileges as 
well).</p>\r\n<p>Through management node to computer mapping, assignment of 
which management nodes control which computers is accomplished. One can quickly 
switch which management node is in control of a group of computers. 
Additionally, when management node redundancy is fully implemented, this is h
 ow management nodes will be able to control overlapping groups of 
computers.</p>\r\n<h2>Resource Privileges</h2>\r\n<p>There are three privileges 
that can be assigned to resource groups:</p>\r\n<ul>\r\n    
<li>available</li>\r\n    <li>administer</li>\r\n    
<li>manageGroup</li>\r\n</ul>\r\n<p><span style="color: rgb(0, 0, 
255);">available</span> is only used for image and computer groups. If it is 
assigned to a schedule or management node group, it is simply ignored. This 
privilege correspondes to these user group privileges: imageCheckOut and 
imageAdmin. When a user has one of these two privileges at a node along with an 
image group or a computer group having the available privilege at the same 
node, then the user will have access to make a reservations for the images in 
the group (imageCheckOut) or make a new images based off of images in the group 
(imageAdmin). Note that both an image group and a computer group must have the 
available permission where a user has imageChe
 ckOut for the user to make a reservation for an image in the image group. This 
is used to determine which computers are available at the node to go along with 
which images are also available at the node.</p>\r\n<p><span style="color: 
rgb(0, 0, 255);">administer</span> is used for all types of resources, and thus 
corresponds to all of the *Admin user privileges (computerAdmin, imageAdmin, 
mgmtNodeAdmin, and scheduleAdmin). Administer generally grants access to manage 
specific <i>characteristics</i> of resources in a group, but not to manage any 
grouping information. For example, if a user has the imageAdmin privilege at a 
node where an image group has the administer privilege, the user would then 
have access to modify <i>characteristics</i> of images in that group (name, 
owner, minimum specs required by the image, etc), but would <b>not</b> have 
access to edit which images are <i>in the group</i>.</p>\r\n<p><span 
style="color: rgb(0, 0, 255);">manageGroup</span> is also used 
 for all types of resources. It grants access to a few different things. One is 
the ability to modify information about a group under <span style="color: 
rgb(0, 0, 255);">Manage Groups </span>(if a user also has the groupAdmin 
privilege). Another is the ability to manage membership of a group. Finally, it 
provides access for mapping one type of group to another (for this, manageGroup 
must be granted for both types of resources). Additionally, there is an extra 
way manageGroup is used specifically related to computer groups: a user must 
have scheduleAdmin and manageGroup over a schedule group to be able to change 
the schedule of a computer (both through Manage Computers-&gt;Edit Computer 
Information and Manage Computers-&gt;Computer Utilities-&gt;Change schedule of 
computers).</p>');
 


Reply via email to