-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
Currently, there is no way to restrict access to the "Refund this order" button in Joanie's back-office order view. It would be useful to limit this permission specifically to accounting agents within FUN to avoid mistakes.
Describe the solution you'd like
We would like the ability to configure a permission setting for the button, limiting access to specific users, such as accounting agents.
Ideally, this should be configurable within the Django user permissions associated with the user group.
Describe alternatives you've considered
As a temporary solution, it would be acceptable if the button is visible to all users but leads to an error message when clicked by users who do not have the necessary permissions (similar to how other actions without permission are handled, such as adding a member to an organization).
As a temporary action, we will block the can delete order permission for any team member who should not be able to cancel orders, which will limit the risks. Ideally, these two permissions should be separated: cancellation and refund.
🙏