Ver Fonte

[sentry] Convert Sentry * actions to ALL

Romain Rigaux há 11 anos atrás
pai
commit
38724b3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      desktop/libs/libsentry/src/libsentry/api.py

+ 1 - 1
desktop/libs/libsentry/src/libsentry/api.py

@@ -174,7 +174,7 @@ class SentryApi(object):
         'database': privilege.dbName,
         'table': privilege.tableName,
         'URI': privilege.URI,
-        'action': privilege.action.upper(),
+        'action': 'ALL' if privilege.action == '*' else privilege.action.upper(),
         'timestamp': privilege.createTime,
         'grantOption': privilege.grantOption == 1,
     }