Service User Control Panel

This document considers the way an application UI can plug into the service user control panel (MyCP) based on CCP.

UX1 unifies both roles: CCP and MyCP. It provides much more integration capabilities and thus is considered in a separate document.

Layout

CCP and MyCP layout is unified in terms that the customer administrators and service users will work within the same layout differentiated by the permissions to manage the account in general and subscribed resources.

Embedding to MyCP

One of placeholders allows embedding a navigation tree into MyCP. An embedded UI tree will be added as a tab in the top level menu. In the following example, metadata declaration in APP-META.xml makes the tree with the “Virtual Servers” label embedded into MyCP, as required by element <plugs-to id=”http://www.aps-standard.org/ui/user”/>.

<navigation id="mycp" label="Virtual Servers">
    <var name="user" type-id="http://aps-standard.org/types/core/service-user/1.0"/>
    <plugs-to id="http://www.aps-standard.org/ui/user"/>
    <item id="myservers" label="Virtual Servers">
        <view id="myservers" label="Own VPSes"/>
    </item>
</navigation>

In MyCP, it looks as presented below.

../../../../_images/mycp-navigation-embed.png

APS UI in this case allows a user to manage the resources assigned to the user, for example, it allows a user to start and stop VPSes.