Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

41 lines
6.0 KiB
HTML

<a name="mrs_01_24049"></a><a name="mrs_01_24049"></a>
<h1 class="topictitle1">Authentication Based on Users and Roles</h1>
<div id="body0000001083029956"><p id="mrs_01_24049__en-us_topic_0122504793_p757715484910">This section describes how to create and configure a FlinkServer role on Manager as the system administrator. A FlinkServer role can be configured with FlinkServer administrator permission and the permissions to edit and view applications.</p>
<p id="mrs_01_24049__a711c2c6ff7394702a4c7c089ac719944">You need to set permissions for the specified user in FlinkServer so that they can update, query, and delete data.</p>
<div class="section" id="mrs_01_24049__s6bd890046cf14e0684de417e9b5d36b1"><h4 class="sectiontitle">Prerequisites</h4><p id="mrs_01_24049__a0183c23c01c949b79e55c89c19e5ac32">The system administrator has planned permissions based on business needs.</p>
</div>
<div class="section" id="mrs_01_24049__section54992364369"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_24049__ol1612217206368"><li id="mrs_01_24049__lbcf34a2567204e5f9cfaafd98824086a"><span>Log in to Manager.</span></li><li id="mrs_01_24049__l9ec18f5466354b1c84b6b9fb12af0f57"><span>Choose <strong id="mrs_01_24049__b131776432272149">System</strong> &gt; <strong id="mrs_01_24049__b36158200972149">Permission</strong> &gt; <strong id="mrs_01_24049__b29497557472149">Role</strong>.</span></li><li id="mrs_01_24049__l1cdcf7bd57d2406b8295552df0d8f3fb"><span>On the displayed page, click <strong id="mrs_01_24049__b89343078672149">Create Role</strong> and specify <strong id="mrs_01_24049__b178364120172149">Role Name</strong> and <strong id="mrs_01_24049__b93544152072149">Description</strong>.</span></li><li id="mrs_01_24049__lf95aed3efa3a44c4a3b6a2037ab3554b"><span>Set <strong id="mrs_01_24049__b213207532672149">Configure Resource Permission</strong>.</span><p><p id="mrs_01_24049__ae2b4ace1189a4473a2edf2d73f7ecfcf">FlinkServer permissions are as follows:</p>
<ul id="mrs_01_24049__ul797316065211"><li id="mrs_01_24049__li59731055216"><strong id="mrs_01_24049__b1471813247142">FlinkServer Admin Privilege</strong>: highest-level permission. Users with the permission can perform service operations on all FlinkServer applications.</li><li id="mrs_01_24049__li109735085218"><strong id="mrs_01_24049__b521544010141">FlinkServer Application</strong>: Users can set <strong id="mrs_01_24049__b68171971912">application view</strong> and <strong id="mrs_01_24049__b186511822101919">applications management</strong> permissions on applications.</li></ul>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_24049__t021e1138940940faa86b343f878f9e72" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Setting a role</caption><thead align="left"><tr id="mrs_01_24049__r12aa28ed112e4703901e05b3af65e9d1"><th align="left" class="cellrowborder" valign="top" width="32.550000000000004%" id="mcps1.3.4.2.4.2.3.2.3.1.1"><p id="mrs_01_24049__afea22464cbea4d0bbc8fc242390ad172">Scenario</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="67.45%" id="mcps1.3.4.2.4.2.3.2.3.1.2"><p id="mrs_01_24049__aeb303e6092bc435da520ee237d704fbd"><strong id="mrs_01_24049__b44919364272149">Role Authorization</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_24049__r0524a074766e4e2b976ee29a78439139"><td class="cellrowborder" valign="top" width="32.550000000000004%" headers="mcps1.3.4.2.4.2.3.2.3.1.1 "><p id="mrs_01_24049__a4d631284968944b686f3f7cea1b7d44f">Setting the administrator operation permission</p>
</td>
<td class="cellrowborder" valign="top" width="67.45%" headers="mcps1.3.4.2.4.2.3.2.3.1.2 "><p id="mrs_01_24049__en-us_topic_0122504793_p141831314566">In <strong id="mrs_01_24049__b18313141612579">Configure Resource Permission</strong>, choose <em id="mrs_01_24049__i193247163576">Name of the desired cluster</em> &gt; <strong id="mrs_01_24049__b15324141613578">Flink</strong> and select <strong id="mrs_01_24049__b1232511655716">FlinkServer Admin Privilege</strong>.</p>
</td>
</tr>
<tr id="mrs_01_24049__rbfda45ce6e5447909d876cdd54354234"><td class="cellrowborder" valign="top" width="32.550000000000004%" headers="mcps1.3.4.2.4.2.3.2.3.1.1 "><p id="mrs_01_24049__en-us_topic_0122504793_p179532106563">Setting a specified permission on applications</p>
</td>
<td class="cellrowborder" valign="top" width="67.45%" headers="mcps1.3.4.2.4.2.3.2.3.1.2 "><ol type="a" id="mrs_01_24049__o26360c4588274688b3822dae8932c59e"><li id="mrs_01_24049__l90d34974190a4510833aa471205528ef">In the <strong id="mrs_01_24049__b185676115172149">Configure Resource Permission</strong> table, choose <em id="mrs_01_24049__i179952167672149">Name of the desired cluster</em> &gt; <strong id="mrs_01_24049__b29853969272149">Flink</strong> &gt; <strong id="mrs_01_24049__b178022130172149">FlinkServer Application</strong>.</li><li id="mrs_01_24049__la6b510a84fc94de6b942af3e16d394e7">In the <strong id="mrs_01_24049__b9321034171610">Permission</strong> column, select <strong id="mrs_01_24049__b1379950181619">application view</strong> or <strong id="mrs_01_24049__b17537913181718">applications management</strong>.</li></ol>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="mrs_01_24049__l979a717f376c4ea6990d9e6534d00895"><span>Click <strong id="mrs_01_24049__b8682921272149">OK</strong>. Return to role management page.</span><p><div class="note" id="mrs_01_24049__note264083116421"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_24049__p538616673918">After the FlinkServer role is created, create a FlinkServer user and bind the user to the role and user group. For details, see <span id="mrs_01_24049__ph1294413550112"><a href="https://docs.otc.t-systems.com/usermanual/mrs/admin_guide_000137.html" target="_blank" rel="noopener noreferrer">Creating a User</a></span>.</p>
</div></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24047.html">FlinkServer Permissions Management</a></div>
</div>
</div>