FIX OAuth Authorization parameters
[NEW] Preliminary implementation of PermissionsManager
Remove old permissions usage
Fix SQL transaction imbrication
Merge pull request #212 from inthause/documents

[NEW] Preliminary implementation of PermissionsManager