         }
         
         // optionally filter results
+        
         if self.permissionsEnabled {
             
             var filteredResults = [NSManagedObject]()


/** Server Permission Enumeration */

public enum ServerPermission {
    
    /**  No access permission */
    case NoAccess
    
    /**  Read Only permission */
    case ReadOnly
    
    /**  Read and Write permission */
    case EditPermission
}

/** Server Request Type */

        
        let sortDescriptorsJSONArray = sortDescriptorsJSONArrayObject as? [[String: Bool]]
        
        // empty mutable array
        var sortDescriptors = [NSSortDescriptor]()
        
        if sortDescriptorsJSONArrayObject != nil {
            
            // validate
            if (sortDescriptorsJSONArray == nil || sortDescriptorsJSONArray?.isEmpty != nil) {
