OpenSearch/plugins/repository-hdfs
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 Fix more licenses 2016-03-09 00:10:59 -08:00
src Add single static instance of SpecialPermission (#22726) 2017-01-21 12:03:52 -06:00
build.gradle Revert "Make build Gradle 2.14 / 3.x compatible (#22669)" 2017-01-20 18:16:45 -05:00