Преглед изворни кода

[sentry] Convert Sentry * actions to ALL

Romain Rigaux пре 11 година
родитељ
комит
38724b3
1 измењених фајлова са 1 додато и 1 уклоњено
  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,
     }