fiware - Assign Orion entities to users -


i have switched our wirecloud instance login fiware idm. have there widget connected orion using ngsi source operator. question how assign entities in context broker user - different users see different entities.

probably best way implement adding "users" attribute entities. "users" attribute contain white list of users access entity.

the main problem applying solutions current version of orion (0.23) doesn't support searching entities using filters. next versions of orion going provide functionality (see @fganlan answer question) have wait until functionality ready.

if need feature now, viable solution see add attribute per user access entity (the value associated attribute irrelevant) orion allows filtering entities using list of attributes, can query orion context broker asking entities containing attribute associated user, if entity doesn't contain attribute not accesible user , filtered.

see question how obtain logged user info widgets.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -