Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[21.4.1] error/unable to access trashcan after deleting items with another user (of the same group) #1654

Closed
tgurr opened this issue Jul 7, 2021 · 4 comments

Comments

@tgurr
Copy link
Contributor

tgurr commented Jul 7, 2021

Expected behavior

Being able to access/view/delete/restore items in trashcan.

Actual behavior / Steps to reproduce

Error when accessing the trashcan.

Screenshot_20210707_145553

Steps to reproduce

  1. have a group with two members having user roles
  2. user.one member of the group creates a target & a task
  3. user.two member of the group deletes the target & the task moving them to the trashcan
  4. after the steps above neither of the two users is able to acess the trashcan anymore to finally remove (or restore) the items

A user not being a member of the group can access the (empty) trashcan just fine, in this care my user with the admin role is the initial "admin". However once I add that user to the group in question the user is also unable to acess the trashcan and gets the same GSA error posted above.

GVM versions

gsa: Greenbone Security Assistant 21.4.1~dev1
gvm: Greenbone Vulnerability Manager 21.4.2 / Manager DB revision 242
openvas-scanner: OpenVAS 21.4.1
gvm-libs: gvm-libs 21.4.1

Environment

Operating system: Linux exherbo 5.12.0 greenbone/gsa#1 SMP Thu Apr 29 14:22:53 CEST 2021 x86_64 GNU/Linux
Installation method / source: Exherbo packages (source-based)

Logfiles

gvmd.log:

event target:MESSAGE:2021-07-07 12h11.00 CEST:3907768: Target test (f6864f93-a630-454c-b5fa-a61faf34db96) has been created by user.one
event task:MESSAGE:2021-07-07 12h11.06 CEST:3908220: Status of task  (d6509788-bccb-4394-b5fb-aae7f4e3f2ea) has changed to New
event task:MESSAGE:2021-07-07 12h11.06 CEST:3908220: Task test (d6509788-bccb-4394-b5fb-aae7f4e3f2ea) has been created by user.one
[...]
event task:MESSAGE:2021-07-07 14h35.11 CEST:11255: Task test (d6509788-bccb-4394-b5fb-aae7f4e3f2ea) has been deleted by user.two
event target:MESSAGE:2021-07-07 14h35.21 CEST:11326: Target test (f6864f93-a630-454c-b5fa-a61faf34db96) has been deleted by user.two

Despite the error message from GSA about the "Failure to receive response from manager daemon." I have no further output in any of the logs.

@tgurr
Copy link
Contributor Author

tgurr commented Jul 12, 2021

What I tried in the meantime without any success:

  • manually deleted the items I thought that were causing the issue from the database
  • still getting the same error message when trying to access the (now empty) trashcan with one of my users
  • temporarily downgraded gsa from 21.4.1 to 21.4.0

@bjoernricks bjoernricks transferred this issue from greenbone/gsa Aug 2, 2021
@bjoernricks
Copy link
Contributor

I suppose this is related to #1636

@tgurr
Copy link
Contributor Author

tgurr commented Aug 2, 2021

@bjoernricks thanks, I can confirm that applying 238cf3b & ea48ce8 lets me access the trashcan again.

@bjoernricks
Copy link
Contributor

Good to know. Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants