[jdev] data forms with different access models (Goffi)

Goffi goffi at goffi.org
Fri Mar 3 21:16:46 UTC 2017

Le jeudi 2 mars 2017, 21:21:54 CET Peter Waher a écrit :
> Hello Goffi
> A similar effect, with context-sensitive content in a form can be made using
> Dynamic Data Forms (XEP-0336). https://xmpp.org/extensions/xep-0336.html
> Best regards,
> Peter Waher

Hi Peter,

thanks for your answer. While dynamic data forms is a (really) great XEP, it 
doesn't help here because it still need a dedicated component who know who can 
access fields. It could be used to enhance the result (e.g. with read-only 
fields or error messages), but it's not what I need for my use case.

What I need is a generic way to tell a pubsub service (or equivalent) that 
some fields are publics, some fields are publicly visibles but only modifiable 
by admins, some fields are hiddens to non-admins. I was thinking about 
composing a form with different nodes but I finally think it's too complicated 
and it can be a nightmare to search items.

I don't see any simple way for that with current specifications, I think a new 
XEP may be needed.


More information about the JDev mailing list