scslab/hails — pull request #78 by deian (2012-10-30 19:09:23+00:00)
Title: Bugfixes, handle lists in POST forms, convert to/from labeled documents and records

* Feature/bugfix: `labeledRequestToHson` handles lists: If a parameter ends with `[]` we remove the `[]` and turn all the same-named fields into a list. For example: `[ a -: 1, b[] -:2, b[] -:3, c -: 4]` is converted to ` [ a -: 1, b -:[ 2, 3], c -: 4]`

* Feature: Convert to/from labeled documents and records.

* Bugfix: Reverted back to `S8.pack . T.unpack`; `decodeUtf8` failed for some example (I forget which)

* Bugfix: `findAll` was using privs when comparing against clearance; it should not.

* Bugfix: `applyCollectionPolicyP` should always use the privileges of the policy
module when raising the clearance. It is not always the case that the
privileges supplied by the app are enough.