[jdev] Presence ACL
Steffen Larsen
zooldk at gmail.com
Tue Dec 25 19:45:46 UTC 2012
Hi,
No it can't be done directly though components, but I've done it through a plugin (based on a specific xmpp server vendor).
I've used Tigase' adhoc command and scripts for setting the specific presence for the users that I want to impursonate. So indirectly through one of my component I could call these adhoc commands to do the stuff for me. - For example setting the users presence even thought the user does not have a session yet, setting the presence status etc.
-Cheers!
/Steffen
On Dec 25, 2012, at 7:11 PM, Dave Cridland <dave at cridland.net> wrote:
> I have wondered (and I think Matthew Wild may have also wondered about this, lest I appear to be stealing his ideas), about mapping <status/> and possibly <show/> onto (pseudo) PEP nodes.
>
> This would mean a couple of things:
>
> - You could set an ACL for <status/> quite easily, though it'd be very much all or nothing.
>
> - With some handwaving involving collections acting as leaf nodes (pay no attention to the man behind the curtain), you could get a situation where two differently permissioned child nodes were used to feed a single item into the pseudo-leaf pseudo-node (eek!), which resulted into different endpoints seeing a different <status/>.
>
> At least the basic pseudo-node stuff feels generally worthwhile to me, and if there's interest I'll try my best to spec it out into a proper XEP.
>
> Dave.
>
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20121225/74e6f4b8/attachment.html>
More information about the JDev
mailing list