NavigationContentFooter
Jump toSuggest an edit

How to manage user permissions for Managed Database for PostgreSQL and MySQL

Reviewed on 04 July 2024Published on 25 March 2022

Permissions define the actions a user can perform on a logical database. A database user is generated automatically when you create your Database Instance and this user is attributed all permissions. However, newly created users have no permissions by default.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • A PostgreSQL or MySQL Database Instance

Set permissions for an existing user

  1. Click PostgreSQL and MySQL under Managed Databases on the side menu. A list of your Database Instances displays.

  2. Click the database name or «See more Icon» > More info to access the Database Instance information page.

  3. Go to the Users tab. A list of users displays.

  4. Click «See more Icon» > Update permissions to open the user permissions panel.

  5. Select the appropriate permissions for each database.

    Note

    Three types of permissions are available:

    • None: No access to the database
    • Read: Allow users to read tables and fields in a database
    • Write: Allow users to write content in databases
  6. Click Update user to confirm.

Set permissions for a new user

During user creation, the permissions panel can be accessed through the top tab menu. For more information, see how to add users.

Note

Permissions are applied on existing items at the moment the configuration is set, and not applied to any items created afterward. When you modify your Database configuration, your configured permissions are automatically set to Custom. The Custom setting ensures that your permissions are still valid for items created before you reconfigured your Database. Any items created after you change your configuration will not have permissions applied to them, you must set new permissions.

See also
How to add usersHow to manage allowed IPs
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway