Fixes on handling permissions
- Collections should now use rwx------, ACEs only r-- or rw- without
executable bit.
- provide "isExecutable" for collections submitted (checkuser.xql)
- display Dynatree-toolbar-buttons according to correct permissions
(query.js)
- adding an ACE only gives mode "r--" instead of "r-x" (sharing.xqm
Merged with changes from trunk
Major changes on collection-permissions and collections.xql
- Rewritten collections.xql to give better JSON objects to DynaTree
(DynaTree was showing each collection of every user due to rwxr-xr-x
mode on collections)
- wrapped several functions with system:as-user(dba account) due to
rwx------ on collections broke accessing
i.e. VRA image records with
collection($config:mods-root)//vra:image[@id=$id]
bugfix for sharing.xqm
- r-x for adding ace to collections (instead of r--)
Merge pull request #32 from ChiSamurai/master

Major update: collection.xql rewritten and use rwx------ for collections