Error encoding with another user

I am trying to encode video on a TX2 using the multimedia api when logged in as another user I created. I get an error:
Debug:Opening video storage file sensors/camera_0/video_0.h264 [ERROR] (/home/jenkins/iris_ws/src/vid_source/src/tegra/NvV4l2Element.cpp:63) <enc0> Could not open device '/dev/nvhost-msenc': Permission denied

This works when I use sudo or am logged in as nvidia user. Is there a way to get this to work when logged in normally as another user?

I figured this out, I had to add the user to the ‘video’ group.