Fixing Module Access in Sitecore Content Hub with a Sign-in Script
Sitecore Content Hub · C# · Sign-in Scripts Auto-Assign Modules to Users on Sign-in in Sitecore Content Hub Content Hub DAM · Scripting · User Management One of the most common and frustrating issues in a fresh Sitecore Content Hub project is users getting 404 errors after logging in — even though their permissions look correct. The culprit is almost always module access . This article covers why module access doesn't cascade from user groups, how to diagnose it, and how to fix it permanently using a C# Sign-in Script that auto-assigns all available modules to users on every login. Real scenario: We assigned the Content module to a user group CH.CMP.Everyone . Users in that group still got 404. Assigning the module directly to individual users fixed it. This led us to investigate and implement the sign-in script solution documented here. The Problem — Module Access vs Group Permissions In Content Hub, there are two distinct layers of acces...