query DatabasesTabs($domainId: ID!) {
    viewer {
        login
        type
        permissions {
            manageServerDb
        }
    }
    capability {
        packages {
            isBackupManagerInstalled
        }
    }
    domain: node(id: $domainId) {
        ... on Domain {
            id
            subscription {
                permissions {
                    manageBackupRestore
                }
            }
        }
    }
}
