flavour/eden — pull request #220 by michaelhowden (2012-10-02 09:09:54+00:00)
Title: Role & Fixes

...on could be int so it breaks.

* Asset Menus fixed
* update_super after s3_set_record_owner and return realm_entity value (otherwise org_site doesn't get the correct realm_entity, and components of the site can't inherit it's realm)
* Suppliers & Partners are owned by the user's organisation
* Fix 1323 (Error when Admin tries to change user password) - caused because the code didn't handle 2 people records linked to the same user record.
* Fix Item Report
* Fix bug to allow first user to register to get Admin (Failure to send welcome email won't block)
* Onaccept Update realm_entity for Project, Assets, Staff, Volunteers, Warehouses, Offices and Members and their components
* Message Editor Role
* Fix link to create course from profile page
* Updating Role Tests

* Add Role Matrix to Warehouse
* User HRM gets site_id
* Fix permissions for pr_image
* Add Phone field to Organisation (to replace Donation Phone)
* When a user is added, they will automatically get an all reader roles the Office and NS/Branch/Chapter associated with the user.
* Don't add Asset in Staff Module