Integrate Aegir user roles into hosting_products as product feature
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
uc_hosting_client.info
uc_hosting_client.install
uc_hosting_client.module

README

Aegir Ubercart Client Roles
---------------------------

This Drupal module integrates Aegir user roles into hosting_products as product
feature. 

With this module you can assign Aegir user roles to Ubercart products, and sell
them as hosting products.

This module is part of the "Hosting & Ubercart Integration" package, and depends
on uc_hosting and uc_hosting_products modules.


Install
-------
- first install your Aegir & UberCart, as you want. Install also uc_hosting and
  uc_hosting_products modules. Enable your modules, and make your Aegir store
  up & running.
- copy the three uc_hosting_client files into the hostmaster sites module 
  directory, next to uc_hosting_products files 
  (/var/aegir/<HOSTMASER>/sites/<AEGIR-SITE>/modules/uc_hosting/products)
- enable the "Aegir Ubercart Client Roles" module


Usage
-----
- Create a hosting product in Ubercart, and go to add product features
  (www.example.com/node/<NID>/edit/features)
- Select "Add user role to product" feature, and add it to the product
- Choose an Aegir user role, what you want to assign to the product.
  Default is "aegir client'. 
- When a client buys a product with this feature assigned, then the role
  will be assigned to the clients user in Aegir after order completed.


Additional info
---------------
- you can define as many user roles you want, with fine graded permissions,
  and assign them to various products in Ubercart
- the name of the user role must contain "aegir", then it will be shown in 
  the selection list


Maintainer
----------
doka@wepoca.net