Bug: Only Admin users can tail Commands output

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug: Only Admin users can tail Commands output

sodul
I have a few users with Release privileges and they use the Commands feature (better than giving ssh access). The problem is that if the command has lots of output they cannot see it, only a user with Admin privileges can.

These seem to be a permissions bug in the commands feature.
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Only Admin users can tail Commands output

frenchyan
Administrator
Do you know which url is causing the problem? That would be useful to debug. Also note that since 4.5.0 all security levels are configuration based so you should be able to change it yourself (unless there is a bug...): http://pongasoft.github.io/glu/docs/latest/html/console.html#console-configuration-security-levels

Yan
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Only Admin users can tail Commands output

sodul
Under console/commands/list if I click on the command from the list such as:
console/agents/commands/collector06?commandId=13e6cb52d70-51c35fd8-7856-4e2b-b678-fd002689fd99

Then the <div class="shell"> section get added above the list with the long stdout. My non-admin users cannot see it (clicking on the link does not do anything).

Reply | Threaded
Open this post in threaded view
|

Re: Bug: Only Admin users can tail Commands output

frenchyan
Administrator
Not sure what the problem is but I can reproduce... https://github.com/pongasoft/glu/issues/222

I will investigate a fix which shall make it in the next version of glu.

Yan