i've created a group_option branch on github which has been deployed
to
http://demo.opensourcecurrency.org
this is very simple stuff. it lets any person create a group where
members of the group can make payments among each other using the
group currency (hardcoded to hours).
when a person joins a group, a new account is created for her which is
associated with a group.
when you click on the "transfer hours" link on a person's profile,
there is now a drop down menu which is populated with that person's
group memberships. you can select which group currency you want to
make the payment in. if you are not a member of the group, it will
give you an error telling you that you are not in the group and you
can go join the group and then make payment.
when a payment is made with a group selected, the default first
accounts are not changed but the accounts for the chosen group.
the groups option for oscurrency is disabled by default. the admin
must go to preferences and click the checkbox to enable it.
see caveats at the end...
i merged an older version (9/15/08) of groups code from:
http://github.com/yuki/insoshi/tree/group_option
if you want to try this branch on your own system on a pre-existing
database, you will need to run the following migration to pick up the
groups migration from way back:
rake db:migrate:up VERSION=20080903122119
then do the rake db:migrate like normal.
caveats:
1. haven't yet messed with the activity streams to denote which group
the payment was made for
2. haven't yet exposed the group account balances on the web site
3. haven't yet updated the API
4. haven't yet allowed the admin of a group to be a member of the the
group
5. haven't yet allowed the admin to approve group membership joins.
they're all approved by default.
i'm going to fix the API first....when i get the remainder of the
caveats fixed, i'll do another screencast.