Modify Permissions

<p>This article mainly describes how to modify access permissions of specified account in the database.</p> <p><strong><span style="font-size:18px">Overview</span></strong></p> <p>After successfully creating database and account, you shall grant access permissions of specified account to database in read-only or write-only manners.</p> <p><strong><span style="font-size:18px">Prerequisites</span></strong></p> <p>1. You have successfully created databases. For more information, see <a href="http://pinganyun.com/ssr/help/database/mongodb/Manual.Database.Create_Database" target="_blank">Create Databases</a>.</p> <p>2. You have successfully created an account. For more information, see <a href="http://pinganyun.com/ssr/help/database/mongodb/Manual.Account.Create_Account" target="_blank">Create an Account</a>.</p> <p><strong><span style="font-size:18px">Procedures</span></strong></p> <p>1. Log in to <a href="http://pinganyun.com/console/mongodb/overview" target="_blank">DDS Management Console</a>.</p> <p>2. In the left navigation pane, click <strong>DDS Cluster</strong> to enter the <strong>DBPaaS for DDS</strong> page.</p> <p>3. Select the target region.</p> <p>4. In the <strong>Operations</strong> column of the target instance, click <strong>Manage</strong> to select <strong>Databases Management</strong> tab.</p> <p>5. Click <strong>Privileges</strong> in the <strong>Operations</strong> column of the target database.</p> <p>6. Select the target account from <strong>Unauthorized Accounts</strong> list, and click .</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202408151604-1a2c362895c9.png" style="height:416px; width:765px" /></p> <p>7. Select the target instance from <strong>Authorized Accounts</strong> list, click <strong>Readwrite</strong> or <strong>Readonly</strong>, and grant access permissions of designated account to database.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202408151622-190427ff9995.png" style="height:413px; width:760px" /></p> <p>8. Click <strong>Confirm</strong>.</p> <p><strong><span style="font-size:18px">Result</span></strong></p> <p>1. On the <strong>Databases Management</strong> page, the <strong>Status</strong> of target database is <strong>Pending. </strong>The corresponding <strong>Binding account </strong>is displayed as target account.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202408151636-1cbac5de930a.png" style="height:139px; width:830px" /></p> <p>2. After permissions are modified successfully, the <strong>Status </strong>of target database is <strong>Available</strong>. The corresponding <strong>Binding account </strong>is displayed as target account and permission is target permission.&nbsp;</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202408151654-1784b5109744.png" style="height:141px; width:830px" /></p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products