mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
[Provider] Create and access child organizations (#1427)
This commit is contained in:
@ -100,11 +100,6 @@ namespace Bit.Api.Controllers
|
||||
[HttpPost("{id:guid}/accept")]
|
||||
public async Task Accept(Guid providerId, Guid id, [FromBody]ProviderUserAcceptRequestModel model)
|
||||
{
|
||||
if (!_currentContext.ManageProviderUsers(providerId))
|
||||
{
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
var user = await _userService.GetUserByPrincipalAsync(User);
|
||||
if (user == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user