Add user view permission database field to installer

Related to issue #307
Merge pull request #322 from xaro1/master

Add user view permission database field to installer.

Thanks!!!
fixed syntax error introduced by pull request #322