Added convenient method to get allowed_actions for folders and documents
Removed todo