We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89c145c commit 0918c0bCopy full SHA for 0918c0b
Gordon360/Controllers/ProfilesController.cs
@@ -454,7 +454,7 @@ public async Task<ActionResult<FacultyStaffProfileViewModel>> UpdateOfficeLocati
454
var groups = AuthUtils.GetGroups(User);
455
if (!groups.Contains(AuthGroup.OfficeAdmin))
456
{
457
- return Forbid("Only OfficeAdmin can update other users' office locations.");
+ return Forbid();
458
}
459
460
else
0 commit comments