|
From: Joe C. <jo...@sw...> - 2001-03-31 10:15:14
|
Ok, I'm getting better at figuring out what needs to go into a
hash...but not good enough to figure out how the Webmin Users
&create_user function works.
I've gathered, I think, almost everything I need in the %user hash when
calling &foreign_call("acl", "create_user", \%user). But I'm having
issues with the ACLs for the modules, mainly because I can't figure out
how to print the modules array within the hash so I can see what it
looks like.
So, how do I generate a correct array of modules to be added for my new
user? As in the previous system user generation query, I'm creating the
user from nothing but the name and a template.
Each user will have permission to edit their own virtual host in Apache,
aliases and read mail in Sendmail, and a few other modules (like
documentation, log analyses tools, etc.).
I'm kind of stumped also, about how to do specific module level ACL
stuff. Like limiting the user to only their own virtual host and
aliases, and such. I've located the save_acl.cgi stuff, and kind of
understand what's happening, but a pointer or two would be much appreciated.
Thanks!
--
Joe Cooper <jo...@sw...>
Affordable Web Caching Proxy Appliances
http://www.swelltech.com
|