invoiceninja/ui

401 unauthorized as a normal user when opening tasks overview: TypeError 'arguments' 'caller' 'callee' cannot be accessed in this context

Closed this issue · 1 comments

Setup

  • Version: 5.8.54
  • Environment: ZIP

Interface

  • Flutter: []
  • React: [X]
  • Both: []

Checklist

Describe the bug

As a normal user when entering the tasks module (with having the corresponding user-rights) a popup message appears: "... action unauthorized ...". Creating tasks and reading tasks is possible though. Console.log has some insights. See Screenshot.

Steps To Reproduce

Create user; Add rights to tasks and projects; login as user; open tasks module.

Expected Behavior

Not getting the popup.

Additional context

By giving the user admin rights the issue vanishes; Granting the user all rights possible, does not make the message disappear.

Screenshots

Bildschirmfoto 2024-05-07 um 15 17 44

@Civolilah I believe here this is seen when the user has view permissions but not create permissions for the entity.