Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 05-05-2006, 06:59 AM
Intermediate Member
 
Posts: 19
Default [Solved] Using Zimlet to add zimbra account

Hello ppz,

I was wondering if it s possible to add a zimbra account with a zimlet.
I have coded a zimlet that add an account to my personnal/professionnal webapp without any kind of
problem but the goal of this zimlet is to add an account to zimbra and my webapp, so service's directors
could add account by simply dropping a contact on my zimlet.
And because i dont want to give an access to the admin panel to the director, i need to do it with the zimlet.

I can use zmprov but i d like to find another [more secure] method.
[=> including a call to it in my php script which add the user to my webapp]

So the question is Can i add a zimbra account with the .js file included in my zimlet.zip

I have searched the forum but with no luck.
If you can point me in the right direction, i will really appreciate it.

[By the way, Zimbra is the most powerful software that i know ]

Last edited by dzed : 05-05-2006 at 02:16 PM. Reason: Solved
Reply With Quote
  #2 (permalink)  
Old 05-05-2006, 07:50 AM
Zimbra Employee
 
Posts: 4,785
Default

To add a new account you need admin privileges. So you'd need to have the zimlet auth as an admin which would be a security risk. One option would be our domain admin feature in the Network Edition, as it allows you to give a minimal set of permissions. The other would be to create a web page that calls zmprov or the SOAP api that you restrict the access too.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 05-05-2006, 02:15 PM
Intermediate Member
 
Posts: 19
Default

Ok that s what i was thinking.
thanks for the fast answer.

i m going to use a web page

but my superiors seem to be really enthousiast for zimbra (i have to show them a demonstration [with my zimlet] next friday and i have already done a description during a meeting)

Hope they will love it [and buy it ! ]

Thanks again for the fast answer
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com