Modify Permissions

<p>This article describes how to modify the access permissions of the account to database.</p> <p><strong><span style="font-size:18px">Overview</span></strong></p> <p>After the account and database are created successfully, you shall grant read-only or read/write permissions of account to specified database.</p> <p><strong><span style="font-size:18px">Prerequisites</span></strong></p> <p>1. 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>2. 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><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>Account Management</strong> tab.</p> <p>5. Click <strong>Privileges</strong> in the <strong>Operations</strong> column of the target account.</p> <p>6. Select target database from <strong>Unauthorized Database </strong>table, and click <img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508091655-1aa17ae19a7d.png" style="height:24px; margin:0px; width:28px" />.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508091725-18c8e10d9c7d.png" style="height:415px; width:760px" /></p> <p>7. Select the target database from <strong>Authorized Database</strong> list, click <strong>Readwrite</strong> or <strong>Readonly</strong>, and grant access permissions of the account to the database.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508091739-1d69b0c49555.png" style="height:413px; width:759px" /></p> <p>8. Click <strong>Confirm</strong>.</p> <p><strong><span style="font-size:18px">Result</span></strong></p> <p>1. On the <strong>Database Management</strong> page, the <strong>Status</strong> of target database is <strong>Processing. </strong>The corresponding <strong>Privileges </strong>is displayed as target database.</p> <p>2. After permissions are modified successfully, the <strong>Status</strong> of target database is <strong>Available</strong>. The corresponding <strong>Privileges</strong> is displayed as target database and the permission is target permission.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508091928-1bff89019088.png" style="height:139px; width:830px" /></p> <p>&nbsp;</p> <p>&nbsp;</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