OpenSearch/plugins/ingest-geoip
Tim Brooks a4ac29c005 Add single static instance of SpecialPermission (#22726)
This commit adds a SpecialPermission constant and uses that constant
opposed to introducing new instances everywhere.

Additionally, this commit introduces a single static method to check that
the current code has permission. This avoids all the duplicated access
blocks that exist currently.
2017-01-21 12:03:52 -06:00
..
licenses ingest: Upgrade geoip2 dependency 2016-10-05 09:31:55 +02:00
src Add single static instance of SpecialPermission (#22726) 2017-01-21 12:03:52 -06:00
build.gradle ingest: Upgrade geoip2 dependency 2016-10-05 09:31:55 +02:00