forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
34 lines
5.7 KiB
HTML
34 lines
5.7 KiB
HTML
<a name="admin_guide_000235"></a><a name="admin_guide_000235"></a>
|
|
|
|
<h1 class="topictitle1">Right Model</h1>
|
|
<div id="body1529658735918"><div class="section" id="admin_guide_000235__section107131442124410"><h4 class="sectiontitle">Role-based Access Control</h4><p id="admin_guide_000235__p88641012548"><span id="admin_guide_000235__text67509419010">MRS</span> adopts the role-based access control (RBAC) mode to manage rights on the big data system. It integrates the right management functions of the components to centrally manage rights. Common users are shielded from internal right management details, and the right management operations are simplified for administrators, improving right management usability and user experience.</p>
|
|
<p id="admin_guide_000235__p143111955610">The right model of <span id="admin_guide_000235__text156771542112117">MRS</span> consists four parts, that is users, user groups, roles, and rights.</p>
|
|
<div class="fignone" id="admin_guide_000235__fig183111551760"><span class="figcap"><b>Figure 1 </b>Right model</span><br><span><img id="admin_guide_000235__image12311135866" src="en-us_image_0000001392574050.png"></span></div>
|
|
<ul id="admin_guide_000235__ul2311251164"><li id="admin_guide_000235__li153111151065"><strong id="admin_guide_000235__b1731220514611">Right</strong><p id="admin_guide_000235__p7312145369">Right, which is defined by components, allows users to access a certain resource of one component. Different components have different rights for their resources.</p>
|
|
<p id="admin_guide_000235__p53121951763">For example:</p>
|
|
<ul id="admin_guide_000235__ul12312858612"><li id="admin_guide_000235__li143121152065">HDFS provides read, write, and execute permissions on files.</li><li id="admin_guide_000235__li133121151364">HBase provides create, read, and write permissions on tables.</li></ul>
|
|
</li><li id="admin_guide_000235__li133121551614"><strong id="admin_guide_000235__b531213512615">Role</strong><p id="admin_guide_000235__p63122516616">Role is a collection of component rights. Each role can have multiple rights of multiple components. Different roles can have the rights of a resource of one component.</p>
|
|
</li><li id="admin_guide_000235__li8312105866"><strong id="admin_guide_000235__b93121051165">User group</strong><p id="admin_guide_000235__p1931216513614">User group is a collection of users. When a user group is bound to a role, users in this group obtain the rights defined by the role.</p>
|
|
<p id="admin_guide_000235__p1831255365">Different user groups can be associated with the same role. A user group can also be associated with no role, and this user group does not have the rights of any component resources.</p>
|
|
<div class="note" id="admin_guide_000235__note63121552060"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="admin_guide_000235__p5312051967">In some components, the system grants related rights to specific user groups by default.</p>
|
|
</div></div>
|
|
</li><li id="admin_guide_000235__li1312059612"><strong id="admin_guide_000235__b123121452067">User</strong><p id="admin_guide_000235__p13312950610">A user is a visitor to the system. Each user has the rights of the user group and role associated with the user. Users need to be added to the user group or associated with roles to obtain the corresponding rights.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="admin_guide_000235__section1760613435211"><h4 class="sectiontitle">Policy-based Access Control</h4><p id="admin_guide_000235__p1699815814523">The Ranger component uses policy-based access control (PBAC) to manage rights and implement fine-grained data access control on components such as HDFS, Hive, and HBase.</p>
|
|
<div class="note" id="admin_guide_000235__note57948635915"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="admin_guide_000235__p979406145917">The component supports only one right control mechanism. After the Ranger right control policy is enabled for the component, the right on the component in the role created on <span id="admin_guide_000235__text19195204412212">MRS</span> Manager becomes invalid (The ACL rules of HDFS and Yarn still take effect). You need to add a policy on the Ranger management page to grant rights on resources.</p>
|
|
</div></div>
|
|
<p id="admin_guide_000235__p16915102115118">The Ranger right model consists of multiple right policies. A right policy consists of the following parts:</p>
|
|
<ul id="admin_guide_000235__ul128671824121318"><li id="admin_guide_000235__li986711242133">Resource<p id="admin_guide_000235__p282111478139"><a name="admin_guide_000235__li986711242133"></a><a name="li986711242133"></a>Resources are provided by components and can be accessed by users, such as HDFS files or folders, queues in Yarn, and databases, tables, and columns in Hive.</p>
|
|
</li><li id="admin_guide_000235__li0588029161315">User<p id="admin_guide_000235__p10439145711163"><a name="admin_guide_000235__li0588029161315"></a><a name="li0588029161315"></a>A User is a visitor to the system. The rights of each user are obtained based on the policy associated with the user. Information about users, user groups, and roles in the LDAP is periodically synchronized to the Ranger.</p>
|
|
</li><li id="admin_guide_000235__li954063801812">Permission<p id="admin_guide_000235__p73744566184"><a name="admin_guide_000235__li954063801812"></a><a name="li954063801812"></a>In a policy, you can configure various access conditions for resources, such as file read and write, permission conditions, rejection conditions, and exception conditions.</p>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000234.html">Security Overview</a></div>
|
|
</div>
|
|
</div>
|
|
|