Skip to content

#2325 add ns support for policies#2368

Open
hu-ahmed wants to merge 1 commit intoeclipse-ditto:masterfrom
beyonnex-io:add-ns-field-to-policy
Open

#2325 add ns support for policies#2368
hu-ahmed wants to merge 1 commit intoeclipse-ditto:masterfrom
beyonnex-io:add-ns-field-to-policy

Conversation

@hu-ahmed
Copy link
Contributor

Resolves #2325

Add support for namespace-scoped policy entries via a new optional namespaces field on PolicyEntry.

A scoped policy entry only applies to Things whose namespace matches at least one configured pattern.
If namespaces is omitted or empty, the entry remains globally applicable for backward compatibility.

Supported matching semantics:

  • com.acme matches only the exact namespace com.acme
  • com.acme.* matches nested namespaces such as com.acme.vehicles, but not com.acme itself

@hu-ahmed
Copy link
Contributor Author

update system test eclipse-ditto/ditto-testing#24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add optional namespaces field to policy entries for namespace-scoped authorization

1 participant