question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[`Roles`] Error 403 while `issue refund` as `Guest`

See original GitHub issue

Description: Guest users cannot access the refund page anymore.

Steps to reproduce the reported bug:

  1. Go to any invoice under /invoices/ID as a Guest.
  2. Click on Issue Refund.
  3. See 403 - DENIED page.

image

Expected behavior:

Instead of 403 error, a guest user could issue the refund and send the link to the customer in case of a partial paid invoices

image

Environment:

  • BTCPay Server Version: v1.4.6.0
  • Deployment Method: Docker
  • Browser: Chrome

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
Kukkscommented, Mar 31, 2022

@pavlenex My personal preference would be to keep the functionality to create the refund as guest, since we have it before.

And you could, as you mentioned, not authorize/finalize it or (what I was doing) use a watch-only wallet

Thanks for feedback and perspective.

We have the transfer professors feature in progress which will be rolled out in the next release. This feature automatically pays out payouts awaiting payment so your last option will no longer be enough unless you use watch only wallets…

I think a store guest should be able to create a refund (pull payment) but not be able to approve payouts for them.

1reaction
pavlenexcommented, Feb 1, 2023

@kukks said he will add a permisson tag and tackle this one, later on expand it via role manager.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server always returning 403 forbidden even when user has ...
1 Answer. Found the solution, I thought that the token I was creating contains the user information and his roles but I actually...
Read more >
Forbidden (403), Unauthorized (401), or What Else?
403 Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on...
Read more >
Why an external user with guest role cannot access ...
Real behaviour. userexternal cannot download internalproject . The page returns a 403 error (forbidden access). Cloning into 'internalproject'.
Read more >
403 errors when accessing Site-Wide Analysis Tool on Adobe ...
This article provides a solution for when you receive 403 errors when trying to access the Site-Wide Analysis Tool on Adobe Commerce.
Read more >
Troubleshoot Access Denied (403 Forbidden) errors in ...
If your bucket has S3 Object Lock enabled and the object is protected by a retention period or legal hold, Amazon S3 returns...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found