Browse Source

[sentry] Convert Sentry * actions to ALL

Romain Rigaux 11 years ago
parent
commit
38724b3
1 changed files with 1 additions and 1 deletions
  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,
     }