[ejabberd] Read-Only Access to Web_Admin

Nathan Faust nfaust at merchantwarehouse.com
Mon Oct 9 23:05:53 MSD 2006


Oleg Palij,

Thank you,
This patch does exactly what I'm looking for.

Nathan. 


-----------------------
Nathan Faust
Systems Administrator
Merchant Warehouse
55 Court Street, 3rd Floor
Boston, MA  02108
Phone:  617.896.5558
 
http://www.merchantwarehouse.com/ 


-----Original Message-----
From: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] On Behalf Of Oleg Palij
Sent: Monday, October 09, 2006 9:32 AM
To: ejabberd at jabber.ru
Subject: Re: [ejabberd] Read-Only Access to Web_Admin

Wed, Oct 04, 2006 at 09:29:43PM +0200, ejabberd-bounces at jabber.ru написал:
> Is there a way to grant read-only access to web_admin?
	You can find here
http://www.dp.uz.gov.ua/o.palij/mod_logmnesia/patch-src-web-web_admin_viewers
	a quick and dirty hack (against 1.1.2) for ejabberd_web.erl which allows some users (defined with "web_admin_viewers" access rule) access to web admin, and denies them 'POST' method.
	So, cd in to your ejabberd sources, apply patch, add to config following lines:

{acl, boss_viewer, {user, "boss"}}.
{access, web_admin_viewers, [{allow, boss_viewer}]}.

	I have not tested this patch carefully, so use it at your own risk ;).

	Irrelative of above - please test 1.3 version of mod_logmnesia (look at changelog before upgrading!): http://www.dp.uz.gov.ua/o.palij/mod_logmnesia/
	Your suggestions are welcome :)

--
ISC Pridn railway, System Administrator
e-mail: o.palij at dp.uz.gov.ua
xmpp://malik@jabber.te.ua
_______________________________________________
ejabberd mailing list
ejabberd at jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd




More information about the ejabberd mailing list