ditto icon indicating copy to clipboard operation
ditto copied to clipboard

Allow access to metadata to be restricted via policies

Open jokraehe opened this issue 2 years ago • 0 comments

The current implementation doesn't support policy enforcement. Only the thing's policy is taken into account when metadata is retrieve via HTTP API and the field selector "_metadata". https://github.com/eclipse/ditto/pull/1402 introduces extended access via (put|get|delete)-metadata which all do not respect policy access rights. Therefor any user with some access right on any part of a thing could e.g. query all metadata of the thing with the get-metadata header.

jokraehe avatar Jun 30 '22 08:06 jokraehe