[RBAC] Create a database from a backup is successful if the user does not have database-engines permissions
Description
STRs: 1. Create a DB with backups 2. Remove all permissions related to db-engines for the user you are using 3. Create DB from a backup and/or Restore from a backup.
Actual Outcome: 1. Able to create a new db cluster. 2. Able to restore from a backup to the same db cluster.
Expected Outcome: 1. Restore to a new DB cluster, not possible. 2. Restore to the same db cluster needs to be discussed, as I think it should be allowed.
@Diogo Recharte Can you please confirm the expected behavior for this?
STRs:
1. Create a DB with backups
2. Remove all permissions related to db-engines for the user you are using
3. Create DB from a backup and/or Restore from a backup.
Actual Outcome:
1. Able to create a new db cluster.
2. Able to restore from a backup to the same db cluster.
Expected Outcome:
1. Restore to a new DB cluster, not possible.
2. Restore to the same db cluster needs to be discussed, as I think it should be allowed.
@Diogo Recharte Can you please confirm the expected behavior for this?