Allow users to access terminal buffer without log perms

What does this MR do and why?

  • Resolves #558 (closed) #520 (closed)
  • Checks for log permissions when users are trying to read the log file
  • Checks for logs or terminal permissions when user tries to read output buffer

How to set up and validate locally

  1. Create a normal user without SU perms, but with terminal perms and no log perms
  2. Load the terminal

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Andrew

Merge request reports

Loading