mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Make Role Permissions more human legible (#6191)
Had to rename `CanModifyStoreWebhooks` to `CanModifyWebhooks` for this, but the value stayed the same, so I don't think it's a big deal. Closes #6183.
This commit is contained in:
@@ -24,7 +24,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||
{
|
||||
[ApiController]
|
||||
[Authorize(AuthenticationSchemes = AuthenticationSchemes.Greenfield,
|
||||
Policy = Policies.CanModifyStoreWebhooks)]
|
||||
Policy = Policies.CanModifyWebhooks)]
|
||||
[EnableCors(CorsPolicies.All)]
|
||||
public class GreenfieldStoreWebhooksController : ControllerBase
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user