Deprecate Policy.BuiltinCapabilities.WRITE

Deprecate constant as it is deprecated since Vault 0.5.

Closes gh-575.
This commit is contained in:
Mark Paluch
2020-08-11 12:11:33 +02:00
parent c38d18a1d6
commit bdc2e79288

View File

@@ -546,7 +546,9 @@ public class Policy {
/**
* Deprecated: Previous capability literal before it was split into
* {@link #CREATE} and {@link #UPDATE}.
* @deprecated since 2.3 and Vault 0.5.
*/
@Deprecated
WRITE,
/**
@@ -610,7 +612,6 @@ public class Policy {
gen.writeEndObject();
gen.writeEndObject();
}
}