#1 (permalink)  
Old 10-15-2008, 11:13 PM
Registered User
 
Join Date: Oct 2008
Posts: 6
GatorDrewH is on a distinguished road
Remote Access: Apply ACL List to Reseller

I really hate to ask this, since I'm sure its already been discussed.

I am trying to basically do a whmreq via Perl in order to assign an ACL to a specific reseller.

I don't mind also just setting the options individually, if that is also possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-15-2008, 11:29 PM
cpanelnick's Avatar
cPanel Staff
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 4,303
cpanelnick is on a distinguished road
http://www.cpanel.net/plugins/xmlapi/setacls.html
__________________
-Nick
cPanel Inc.

Need support? Submit a request here. These forums are not an official support channel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-17-2008, 06:00 PM
Registered User
 
Join Date: Oct 2008
Posts: 6
GatorDrewH is on a distinguished road
Not sure why I haven't stumbled across the xml api before.

Nice job on that guys.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-20-2008, 01:27 PM
Registered User
 
Join Date: Oct 2008
Posts: 6
GatorDrewH is on a distinguished road
Is there also a recommended way of adding Account Creation Limits to a reseller via the API?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-20-2008, 02:41 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by GatorDrewH View Post
Is there also a recommended way of adding Account Creation Limits to a reseller via the API?
Chances are if you are using the APIs to create resellers, you are creating many similar resellers with the same account creation limits. You may wish to pre-define these ACLs via the WHM interface then simply use the API to call the ACL by name rather than specify these permissions individually for each reseller.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-31-2008, 04:20 PM
Registered User
 
Join Date: Oct 2008
Posts: 6
GatorDrewH is on a distinguished road
Unfortunately I'd need to specify it per reseller.

Is there a way to do that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-31-2008, 04:42 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by GatorDrewH View Post
Unfortunately I'd need to specify it per reseller.

Is there a way to do that?
To specify different privileges on a per-reseller basis, you can use setacls XML API call. Rather than assigning a pre-created set of permissions, you can issue the permissions individually.

http://cpanel.net/plugins/xmlapi/setacls.html
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-31-2008, 05:59 PM
Registered User
 
Join Date: Oct 2008
Posts: 6
GatorDrewH is on a distinguished road
Right, but it doesn't seem like that can change the account creation limits through there.

This section:

Limit the total number of accounts drew1 can create to accounts.

Limit accounts that drew1 can create by Resource Usage. (Access to packages the user creates is automatically granted unless account creation has been limited to pre-assigned packages below. Access is not automatically granted to system/root created packages unless specifically defined below.)
Resource Usage Limits
Resource Max Allowed Overselling Allowed
Disk Space MB*
Bandwidth MB*
*Unlimited is not acceptable here. If you wish to only limit one of these, just set the other limit to a very large number.

Overselling means that the reseller will be limited by the resources they have actually used instead of the resources they have been allocated.

Actual refers to the sum of the usage of all the resellers accounts.
Allocated refers to the sum of the maximum allowed usage for all the resellers accounts.

Specify which packages drew1 can use for account creation.
You need to specify the number of accounts that drew1 can create per package below.

Limit the amount of accounts that drew1 can create per package. (This implies the option above.)

Last edited by GatorDrewH; 10-31-2008 at 06:04 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-07-2008, 06:30 PM
Registered User
 
Join Date: Oct 2008
Posts: 6
GatorDrewH is on a distinguished road
Nothing on this? Should I make a ticket?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-07-2008, 10:51 PM
cpaneldave's Avatar
Staff Member
 
Join Date: Dec 2001
Posts: 746
cpaneldave is on a distinguished road
Please open a ticket.

Thanks
__________________
-Dave
cPanel Inc.

Need support? Submit a request here. These forums are not an official support channel.

www.cpanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-22-2008, 11:09 AM
Registered User
 
Join Date: Oct 2005
Posts: 21
jfall123 is on a distinguished road
Has there ever been a solution to this? I am trying to do the same thing. I'm interfacing with WHM through modernbill and need Reseller accounts created with the option "Limit the amount of accounts that user can create per package." because if the option isn't set than the user will see all other global packages on the server (not good when its a shared/reseller mixed server).

I can do the disk space limiting and overselling options through modernbill but there doesn't seem to be any options for limiting the amount of accounts a user can create per package. Basically, I just need a way to create resellers through the API who can only see their own packages, and not global packages.

Last edited by jfall123; 11-22-2008 at 12:23 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-24-2008, 01:02 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by jfall123 View Post
Has there ever been a solution to this? I am trying to do the same thing. I'm interfacing with WHM through modernbill and need Reseller accounts created with the option "Limit the amount of accounts that user can create per package." because if the option isn't set than the user will see all other global packages on the server (not good when its a shared/reseller mixed server).

I can do the disk space limiting and overselling options through modernbill but there doesn't seem to be any options for limiting the amount of accounts a user can create per package. Basically, I just need a way to create resellers through the API who can only see their own packages, and not global packages.
Is your inquiry about the capabilities of Parallels Plesk Billing (formerly: Modernbill) or with the actual cPanel/WHM APIs you can use for constructing your own custom billing solution?

I generally recommend inquiries about specific billing applications be addressed to the manufacturer of the application you are inquiring about.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11-24-2008, 02:18 PM
cpaneldave's Avatar
Staff Member
 
Join Date: Dec 2001
Posts: 746
cpaneldave is on a distinguished road
Right now, the setacls XML API call does not provide access to the reseller limits options, only to the reseller ACL list.

You could POST the variables to:

https://IP:2087/scripts2/editressv

if you wish to automate the process. Take a look at the source in the Edit Privileges/Nameservers for the specific variable names that are sent to editressv.

Let me know if you have any questions.
__________________
-Dave
cPanel Inc.

Need support? Submit a request here. These forums are not an official support channel.

www.cpanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:31 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc