OpenSearch/x-pack
Tim Vernum 670ccfb853
Handle missing user in user privilege APIs (#34575)
For user/_has_privileges and user/_privileges, handle the case where
there is no user in the security context. This is likely to indicate
that the server is running with a basic license, in which case the
action will be rejected with a non-compliance exception (provided
we don't throw a NPE).

The implementation here is based on the _authenticate API.

Resolves: #34567
2018-10-19 17:54:01 +11:00
..
dev-tools Build: Merge xpack checkstyle config into core (#33399) 2018-09-05 09:17:02 -04:00
docs Change wording for FIPS 140-2 (#34471) 2018-10-18 18:22:46 +03:00
license-tools Core: Abstract DateMathParser in an interface (#33905) 2018-09-26 07:56:25 -07:00
plugin Handle missing user in user privilege APIs (#34575) 2018-10-19 17:54:01 +11:00
protocol Test fix - GraphExploreResponse HLRC xContent ordering was unreliable(#34473) 2018-10-16 09:10:48 +01:00
qa A constant can be used outside aggregation only queries (#34576) 2018-10-18 13:33:01 +03:00
test Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
transport-client Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00
NOTICE.txt Migrate x-pack-elasticsearch source to elasticsearch 2018-04-20 15:29:54 -07:00
README.md Reorganize license files 2018-04-20 15:33:59 -07:00
build.gradle Build: Merge xpack checkstyle config into core (#33399) 2018-09-05 09:17:02 -04:00

README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.