Эх сурвалжийг харах

[sentry] Convert Sentry * actions to ALL

Romain Rigaux 11 жил өмнө
parent
commit
38724b3

+ 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,
     }