Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.8.0
Description
UpdateableAuthzPermissions has the following code:
public static final Map<String, FsAction> ACTION_MAPPING = new HashMap<String, FsAction>(); static { ACTION_MAPPING.put("ALL", FsAction.ALL); ACTION_MAPPING.put("*", FsAction.ALL); ACTION_MAPPING.put("SELECT", FsAction.READ_EXECUTE); ACTION_MAPPING.put("select", FsAction.READ_EXECUTE); ACTION_MAPPING.put("INSERT", FsAction.WRITE_EXECUTE); ACTION_MAPPING.put("insert", FsAction.WRITE_EXECUTE); }
It should use ImmutableMap instead.
Attachments
Attachments
Issue Links
- links to