- Added get current user permissions for a document.