doc-exports/docs/swr/umn/swr_01_0015.html
Dong, Qiu Jian 38e4c01e6c SWR UMN: Permission description is added
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2024-06-18 06:49:13 +00:00

38 lines
9.1 KiB
HTML

<a name="swr_01_0015"></a><a name="swr_01_0015"></a>
<h1 class="topictitle1">User Permissions</h1>
<div id="body1555491150557"><div class="section" id="swr_01_0015__section165312205241"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0015__p164296810128">To manage SWR permissions, you can use Identity and Access Management (IAM). If you have the SWR Administrator or Tenant Administrator permission, you become an admin user of SWR accounts. You can grant permissions to other IAM users in SWR.</p>
<p id="swr_01_0015__p579822112418">If you are not an SWR account admin user, you can request an SWR account admin user to grant you permissions to read, write, or manage a specific image or images in a specific organization.</p>
<div class="note" id="swr_01_0015__note1845101411443"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="swr_01_0015__ul4731174114613"><li id="swr_01_0015__li14243115111464">An SWR account admin user is granted image management permission of all organizations by default, even if the user is not in the authorized user list of the organizations.</li><li id="swr_01_0015__li273124154610">SWR is deployed and accessed in specific physical regions. To assign permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect.</li></ul>
</div></div>
</div>
<div class="section" id="swr_01_0015__section1720374872510"><h4 class="sectiontitle">Authorization Method</h4><p id="swr_01_0015__p5538919183917">You can grant permissions to users in SWR by using either of the following methods:</p>
<ul id="swr_01_0015__ul485912515537"><li id="swr_01_0015__li103961739173911"><a href="#swr_01_0015__section851514354541">Grant permissions on an image details page</a> to allow users to read, write, and manage a specific image.</li><li id="swr_01_0015__li68602055538"><a href="#swr_01_0015__section950354645517">Grant permissions on an organization details page</a> to allow users to read, write, and manage all the images in an organization.<div class="fignone" id="swr_01_0015__fig8450171282912"><span class="figcap"><b>Figure 1 </b>User permissions</span><br><span><img id="swr_01_0015__image426145712577" src="en-us_image_0000001200802327.png" width="NaN" height="NaN"></span></div>
</li></ul>
<p id="swr_01_0015__p1169521102611">You can grant the following three types of permissions to users:</p>
<ul id="swr_01_0015__ul388714187544"><li id="swr_01_0015__l318059e27a5e4699940d3d1ce20d82b6"><span class="keyword" id="swr_01_0015__keyword04485016538">Read</span>: Users can only pull images.</li><li id="swr_01_0015__la5b459c83e9241b9a650dfc5f1736e8e"><span class="keyword" id="swr_01_0015__keyword198125414306">Write</span>: Users can pull and push images and edit image attributes.</li><li id="swr_01_0015__li1888711186547"><span class="keyword" id="swr_01_0015__keyword7888121943117">Manage</span>: Users can pull and push images, delete images or tags, edit image attributes, grant permissions, and share images with other users.</li></ul>
</div>
<div class="section" id="swr_01_0015__section851514354541"><a name="swr_01_0015__section851514354541"></a><a name="section851514354541"></a><h4 class="sectiontitle">Granting Permissions for a Specific Image</h4><p id="swr_01_0015__p250766155518">To allow users to read, write, and manage a specific image, grant corresponding permissions to them on the details page of this image.</p>
<ol id="swr_01_0015__ol9264203131814"><li id="swr_01_0015__li162641439189"><span>Log in to the SWR console.</span></li><li id="swr_01_0015__li32649318187"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0015__uicontrol19805185111311"><b>My Images</b></span> and click the desired image.</span></li><li id="swr_01_0015__li172649314189"><span>On the image details page, click the <span class="uicontrol" id="swr_01_0015__uicontrol04808543311"><b>Permissions</b></span> tab.</span></li><li id="swr_01_0015__li926416321813"><span>Click <span class="uicontrol" id="swr_01_0015__uicontrol126277963214"><b>Add Permission</b></span>. On the page displayed, click <strong id="swr_01_0015__b56337911321">Read</strong>, <strong id="swr_01_0015__b106341699327">Write</strong>, or <strong id="swr_01_0015__b9635398329">Manage</strong> in the row of the desired username. Click <strong id="swr_01_0015__b9635149163219">OK</strong> to confirm.</span><p><div class="fignone" id="swr_01_0015__fig211084520455"><span class="figcap"><b>Figure 2 </b>Granting permissions for a specific image</span><br><span><img id="swr_01_0015__image101107456458" src="en-us_image_0000001154645118.png" height="409.61473" width="492.1" title="Click to enlarge" class="imgResize"></span></div>
</p></li></ol>
</div>
<div class="section" id="swr_01_0015__section12896443593"><h4 class="sectiontitle">Modifying or Deleting Permissions for a Specific Image</h4><p id="swr_01_0015__p52095184593">You can also modify or delete user permissions on the image details page.</p>
<ul id="swr_01_0015__ul1730424812293"><li id="swr_01_0015__li53041648102917">To modify permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol17792754153219"><b>Modify</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol14798154183217"><b>Permissions</b></span> tab page. Select a permission in the <span class="uicontrol" id="swr_01_0015__uicontrol479819541321"><b><span class="keyword" id="swr_01_0015__keyword117982054143219">Permission</span></b></span> drop-down list, and click <span class="uicontrol" id="swr_01_0015__uicontrol179895473212"><b>Save</b></span> in the <strong id="swr_01_0015__b18799254163211">Operation</strong> column.</li><li id="swr_01_0015__li032933101913">To delete permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol141991056183420"><b>Delete</b></span> in the row of the desired username on the <strong id="swr_01_0015__b7199175613420">Permissions</strong> tab page, enter <strong id="swr_01_0015__b15449133543516">DELETE</strong> in the dialog box displayed, and then click <strong id="swr_01_0015__b101991856103410">Yes</strong>.</li></ul>
</div>
<div class="section" id="swr_01_0015__section950354645517"><a name="swr_01_0015__section950354645517"></a><a name="section950354645517"></a><h4 class="sectiontitle">Granting Permissions for an Organization</h4><p id="swr_01_0015__p153055916556">To allow users to read, write, and manage all the images in an organization, grant corresponding permissions to them on the details page of this organization.</p>
<p id="swr_01_0015__p795885245511">Only users with the <span class="uicontrol" id="swr_01_0015__uicontrol114895202333"><b>Manage</b></span> permission can grant permissions for other users.</p>
<ol id="swr_01_0015__o0f1990184fe34768aeb852b4f3a6a9a5"><li id="swr_01_0015__l8c26e6137e8b4362a41c9b9f78ee45ae"><span>Log in to the SWR console.</span></li><li id="swr_01_0015__l6002fd12220e467899d7571142c9ebc5"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0015__uicontrol16366585239"><b>Organization Management</b></span>. Then click <strong id="swr_01_0015__b1263685819235">Details</strong> in the row of the desired organization.</span></li><li id="swr_01_0015__la5031c84badf4a4b9c611a4067dbcb1c"><span>On the <span class="uicontrol" id="swr_01_0015__uicontrol1096982912330"><b>Users</b></span> tab page, click <span class="uicontrol" id="swr_01_0015__uicontrol7969152917333"><b>Add Permission</b></span>. In the dialog box displayed, select permissions for users and click <span class="uicontrol" id="swr_01_0015__uicontrol1897052917336"><b>OK</b></span>.</span></li></ol>
</div>
<div class="section" id="swr_01_0015__section16534153412010"><h4 class="sectiontitle">Modifying or Deleting Permissions for an Organization</h4><p id="swr_01_0015__p143397226010">You can also modify and delete user permissions of an organization.</p>
<ul id="swr_01_0015__ul49971610195613"><li id="swr_01_0015__li14997181016560">To modify permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol18724374337"><b>Modify</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol5781837173317"><b>Users</b></span> tab page. Select a permission in the <span class="uicontrol" id="swr_01_0015__uicontrol14791637163316"><b><span class="keyword" id="swr_01_0015__keyword27811375331">Permission</span></b></span> drop-down list, and click <span class="uicontrol" id="swr_01_0015__uicontrol117919375334"><b>Save</b></span> in the <strong id="swr_01_0015__b480103793311">Operation</strong> column.</li><li id="swr_01_0015__li20305184814297">To delete permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol366415167317"><b>Delete</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol566541615319"><b>Users</b></span> tab page. In the dialog box displayed, enter <span class="parmname" id="swr_01_0015__parmname12978201715318"><b>DELETE</b></span> and click <span class="uicontrol" id="swr_01_0015__uicontrol14978517833"><b>Yes</b></span>.</li></ul>
</div>
</div>
<div></div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>