Set default context for much case for tree view
Selected contexts must be in the authorized context
Merge pull request #131 from novius-os/bugfix/authorized_context

Bugfix/authorized context
Merge remote-tracking branch 'origin/master/dubrovka' into master/elche
Factorized code form the dubrovka merge