Hi. I'd like to configure ejabberd such that only an admin can update anyones VCard profile but a user themselves cannot. However, anyone should be able to search and read the profiles - the profiles will be populated from another source. I can do everything except disable updates.
I am using Psi to try and achieve this and played around with vcard_set and so on but to no success. Here is an example - don't really know what this does tbh but i was still able to update via Psi.
acl:
adminextraresource:
resource: "modadminextraf8x,31ad"
access:
vcard_set:
adminextraresource: allow
all: deny
modules:
mod_admin_extra:
module_resource: "modadminextraf8x,31ad"
mod_vcard:
access_set: vcard_set
Does anyone know if this is possible and what i'd need to do?
thanks,
steven
I think such thing is not
I think such thing is not possible. Where did you read about that "access_set" option? I can't find it in the ejabberd source code.
Hi - it's in the ejabberd
Hi - it's in the ejabberd configuration documentation:
https://docs.ejabberd.im/admin/configuration/#mod-admin-extra
Oh, I guess that
Oh, I guess that documentation refers to a feature implemented only in this patch:
https://support.process-one.net/browse/EJAB-797
And this patch was not included in ejabberd. In case you are interested, I've updated the patch to work with ejabberd git master. I don't know if it will work with ejabberd 17.04:
Wow - thank you :-) I didn't
Wow - thank you :-) I didn't realise it was only in the patch.
I will give it a try. If it doesn't work i will figure it out and put the code somewhere.
thanks again,
steven