mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
[PM-17691] Change permission requirement for organization deletion initiation (#5339)
This commit is contained in:
parent
f1c94a1400
commit
62afa0b30a
@ -309,7 +309,7 @@ public class OrganizationsController : Controller
|
|||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[ValidateAntiForgeryToken]
|
[ValidateAntiForgeryToken]
|
||||||
[RequirePermission(Permission.Org_Delete)]
|
[RequirePermission(Permission.Org_RequestDelete)]
|
||||||
public async Task<IActionResult> DeleteInitiation(Guid id, OrganizationInitiateDeleteModel model)
|
public async Task<IActionResult> DeleteInitiation(Guid id, OrganizationInitiateDeleteModel model)
|
||||||
{
|
{
|
||||||
if (!ModelState.IsValid)
|
if (!ModelState.IsValid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user