SYNC: fixed

This commit is contained in:
SPRINX0\prochazka
2025-08-22 14:50:16 +02:00
committed by Diflow
parent 556dda5790
commit 63f2fd864a
3 changed files with 12 additions and 6 deletions

View File

@@ -460,7 +460,7 @@ module.exports = {
for (const operation of operations) {
const role = getTablePermissionRole(conid, database, 'tables', operation.schemaName, operation.pureName, tablePermissions, databasePermissions);
if (getTablePermissionRoleLevelIndex(role) < getTablePermissionRoleLevelIndex(requiredRole)) {
throw new Error('Permission not granted');
throw new Error('DBGM-00262 Permission not granted');
}
}
}