1. Zhang Huangbin
  2. iredapd

Commits

Zhang Huangbin  committed 81d5021

Fix typo error.

  • Participants
  • Parent commits 8b3f08b
  • Branches default

Comments (0)

Files changed (1)

File src/plugins/sql_alias_access_policy.py

View file
  • Ignore whitespace
 #   - membersAndModeratorsOnly: Only members and moderators are allowed.
 
 import sys
+import logging
 
 ACTION_REJECT = 'REJECT Not Authorized'
 
             return 'DUNNO'
         else:
             return ACTION_REJECT
-    elif policy == POLICY_MEMBERSONLY:
+    elif policy == POLICY_MODERATORSONLY:
         # Bypass all moderators.
         if sender in moderators:
             return 'DUNNO'