* https://github.com/jambonz/jambonz-api-server/issues/371
Implemented view_only permission feature
* calling prepare-permissions in create-test-db.js
* check if there is only 1 permission and if it is VIEW_ONLY then consider user as read-only user
* setting is_view_only flag for view user by userid
* avoid sql injections
* linter
* fix test using random sid
* add some test cases
* remove tests that don't use the new validation
* add test
* linter
* fix tests
* add test
---------
Co-authored-by: Guilherme Rauen <g.rauen@cognigy.com>