From df1292de2dae49203376ccdc5687955fc8aeee30 Mon Sep 17 00:00:00 2001 From: Jason Sylvestre Date: Fri, 15 Mar 2024 08:39:42 -0700 Subject: [PATCH] Remove team permission check --- Sloth.Web/Controllers/UsersController.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Sloth.Web/Controllers/UsersController.cs b/Sloth.Web/Controllers/UsersController.cs index cc2b0600..a07ec9ed 100644 --- a/Sloth.Web/Controllers/UsersController.cs +++ b/Sloth.Web/Controllers/UsersController.cs @@ -83,7 +83,6 @@ await _directorySearchService.GetByKerberos(query) }); } - [Authorize(Policy = PolicyCodes.TeamAdmin)] [HttpPost] public async Task CreateUserFromDirectory(string query) {