• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Reseller Account: Permission Denied, only with "webspace/switch-subscription"

NAMDUONGNZ

New Pleskian
To demonstrate the problem I do 2 requests using a reseller account to a Plesk 11.0 server.

Why it says "Permission denied" while my reseller account has permission to do API call? All other API methods work, except webspace/switch-subscription

1> Request
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.5">
<service-plan>
<get>
<filter>
<name>Enterprise Package</name>
</filter>
</get>
</service-plan>
</packet>

1> Response
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.5">
<service-plan>
<get>
<result>
<status>ok</status>
<id>14</id>
<name>Enterprise Package</name>
<guid>3565fd31-fb26-da39-ed34-b6cdec18f679</guid>
<external-id/>
<owner-id>3</owner-id>
<mail>
<nonexistent-user>
<reject/>
</nonexistent-user>
<webmail>horde</webmail>
........................
</permissions>
<plan-items/>
<aps-filter>false</aps-filter>
<packages/>
<php-settings>
<setting>
<name>safe_mode</name>
<value>off</value>
</setting>
</php-settings>
</result>
</get>
</service-plan>
</packet>

2> Request
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.5">
<webspace>
<switch-subscription>
<filter>
<name>ddns-boyd-watt.com.au</name>
</filter>
<plan-guid>3565fd31-fb26-da39-ed34-b6cdec18f679</plan-guid>
</switch-subscription>
</webspace>
</packet>

2> Response
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.5">
<webspace>
<switch-subscription>
<result>
<status>error</status>
<errcode>1006</errcode>
<errtext>Permission denied.</errtext>
<filter-id>ddns-boyd-watt.com.au</filter-id>
<id>94</id>
</result>
</switch-subscription>
</webspace>
</packet>
 
Doesn't fix

Hi I applied the patch but It doesn't fix.

The patch is for AgentMail.php, but I having problem with AgentWebSpace.php
 
Have you tried to use admin's account instead of reseller's?
 
Hi,
I am having a similar problem, only difference is that for the switch-subscription, I am getting the error: "There is no such a service plan". I am using API RPC. This works fine if the customer is subscribed to the Administrator account. However, if I change the subscription to a Reseller, I get this "There is no such a service plan" error. Could you please suggest?

Thanks a lot.
 
Back
Top