Details
- 
    Type:Bug 
- 
    Status: Open
- 
    Priority:Minor 
- 
    Resolution: Unresolved
- 
    Affects Version/s: 2.2.1
- 
    Fix Version/s: None
- 
    Labels:None
- 
        Versioning Impact:Patch (backwards-compatible bug fixes)
- 
        Documentation Required?:None
- 
        Verified?:No
Description
Create an instance of the "Volunteer Report" template (I think extension already does that0.
Create a user with limited permissions. Discovered on an instance where user had limited CiviCRM access, but did have access CiviReport. I don't think the specific permissions are important, because the error is in SQL generation.
Navigate to and run the Volunteer Report.
A DB Error: no such field is generated.
See attached for full error.
Appears that an alias is either malformed, or that a join is missing:
"Database Error Code: Unknown column 'civicrm_contact_assignee.id' in 'on clause', 1054"