mirror of
https://github.com/bitwarden/server
synced 2025-12-16 16:23:31 +00:00
api adjustments for manager role and collections
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Bit.Api.Controllers
|
||||
public async Task<ListResponseModel<OrganizationUserUserDetailsResponseModel>> Get(string orgId)
|
||||
{
|
||||
var orgGuidId = new Guid(orgId);
|
||||
if(!_currentContext.OrganizationAdmin(orgGuidId))
|
||||
if(!_currentContext.OrganizationManager(orgGuidId))
|
||||
{
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user