[tests] write permission tests for add views