Skip to content

Support bot user actions visible to users

Summary

Seen in admin > users the Support-Bot is visible with user actions seen in FE, like other users. However, the actions are disabled and if user selects them a 404 page will appear.

placeholder issue from #197349 (closed), more details to follow

Steps to reproduce

  • Go to admin
  • Overview > select users
  • Find support bot
  • select one of the actions, such as deactivate

What is the current bug behavior?

404 page when actions are selected; action is not enabled/allowed and/or does not execute.

What is the expected correct behavior?

TBD, but suggestion is to remove actions UI for user

Relevant logs and/or screenshots

...

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)