Closed nickolasdeluca closed 3 weeks ago
Pass role to gbak, using ROLE switch
Also you may grant default role to user, it will be always active.
To clarify the other two replies, unless the role is granted as a default role (a feature introduced in Firebird 4.0), a role is not automatically used; it only applies when you explicitly specify it when connecting.
Firebird version: 4.0.4.3010.
Steps to reproduce: 1 - Created a user called
backup
. 2 - Created a role calledBACKUP_ROLE
using this command:3 - Granted the user
backup
the role ofBACKUP_ROLE
4 - Tried to use gbak with the backup userGot this message:
The password, the database path and fbk path were redacted because of obvious reasons but they were correctly typed, I double checked
What am I supposed to do to allow my user
backup
to perform gbak backups and restores?