SOLVED

Hiding links for users without access

%3CLINGO-SUB%20id%3D%22lingo-sub-1418302%22%20slang%3D%22en-US%22%3EHiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418302%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20figure%20out%20how%20to%20hide%20links%20in%20the%20Top%20Bar%20navigation%20for%20users%20that%20do%20not%20have%20access%20to%20something.%20I%20find%20it%20strange%20that%20I%20don't%20get%20many%20search%20results%20in%20Google%20that%20even%20discuss%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20structure%20is%20Hub%20Site%20with%20a%20Communication%20Site%20that%20has%20several%20subsites.%20The%20top%20Bar%20navigation%20(starting%20at%20the%20Hub)%20contains%20links%20to%20the%20various%20subsites.%20Not%20all%20users%20have%20access%20to%20these%20sites%20but%20the%20links%20still%20show%20up%20for%20them.%20After%20doing%20a%20little%20research%2C%20these%20links%20are%20in%20fact%20hard%20coded%2C%20which%20is%20a%20big%20part%20of%20the%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20tenant%20does%20not%20yet%20have%20the%20Audience%20Targeting%20option%20for%20navigation%20which%20appears%20to%20be%20rolling%20out%20soon.%20At%20this%20point%2C%20I%20have%20not%20enabled%20the%20SharePoint%20Server%20Publishing%20Infrastructure%20at%20the%20Communication%20site.%20I'm%20not%20entirely%20sure%20I%20want%20to%20do%20that%20based%20on%20what%20I've%20read.%20By%20enabling%20this%20feature%2C%20would%20it%20give%20me%20options%20to%20hide%20those%20links%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20really%20new%20to%20SP%20and%20not%20sure%20if%20I%20want%20to%20complicate%20matters%20by%20enabling%20SharePoint%20Server%20Publishing%20Infrastructure.%20Maybe%20I%20need%20this%20and%20just%20don't%20realize%20it%20yet.%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1418302%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418517%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418517%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F495200%22%20target%3D%22_blank%22%3E%40alandarr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%20The%20feature%20you%20are%20looking%20for%20is%20called%20security%20trimming%2C%20and%20you%20are%20correct%20in%20that%20if%20you%20want%20to%20make%20use%20of%20this%20then%20you%20will%20need%20to%20enable%20the%20publishing%20feature.%20%26nbsp%3BSo%20it's%20a%20bit%20of%20a%20trade%20off%20i'm%20afraid.%20%26nbsp%3BYou%20can%20read%20more%20about%20the%20options%20here%20-%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Fnavigation-options-for-sharepoint-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Fnavigation-options-for-sharepoint-online%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418642%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418642%22%20slang%3D%22en-US%22%3EThe%20other%20way%20is%20a%20custom%20navigation%20implemented%20through%20a%20SPFx%20extension...by%20the%20way%20not%20a%20fan%20here%20of%20enabling%20publishing%20on%20modern%20sites%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418718%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418718%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETotally%20agree%2C%20also%20not%20a%20fan%20of%20doing%20so.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418752%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418752%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3EWould%20you%20mind%20saying%20a%20bit%20more%20about%20why%20you%20don't%20care%20for%20publishing%20on%20Modern%20sites%3F%26nbsp%3B%20Thanks!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418819%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418819%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20info.%20I%20am%20also%20wondering%2C%20along%20with%20-ERR%3AREF-NOT-FOUND-%40Cindy%20Zalme%20why%20you%20would%20not%20suggest%20the%20Publishing%20option.%20I%20am%20hesitant%20to%20enable%20it%2C%20but%20I%20may%20be%20missing%20something%20if%20I%20don't.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418849%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418849%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F495200%22%20target%3D%22_blank%22%3E%40alandarr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20cannot%20speak%20for%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%2C%20but%20my%20own%20personal%20feeling%20is%20that%20the%20publishing%20features%20have%20always%20been%20available%20with%20the%20classic%20SP%20sites%20in%20mind%20as%20opposed%20to%20the%20modern%20ones.%20%26nbsp%3BInitially%2C%20the%20publishing%20features%20were%20made%20available%20in%20modern%20sites%20with%20a%20view%20to%20migrating%20older%20%26nbsp%3Bclassic%20sites%20into%20a%20modern%20site%20in%20a%20sort%20of%20coexistence.%20They%20were%20never%20really%20meant%20for%20modern%20sites%20though%2C%20and%20modern%20sites%20have%20way%20more%20options%20to%20look%20professional%20out%20of%20the%20box%20without%20having%20to%20rely%20on%20the%20publishing%20features.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20feel%20that%20(personal%20opinion%20again)%2C%20that%20as%20long%20as%20users%20cannot%20access%20content%20they%20don't%20have%20permissions%20for%2C%20then%20all%20is%20good.%20Security%20trimming%20for%20me%20is%20a%20nice%20to%20have%2C%20not%20really%20a%20make%20or%20break%20feature%20though.%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418871%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418871%22%20slang%3D%22en-US%22%3EMainly%20because%20Publishing%20feature%20is%20a%20%22legacy%22%20feature%20pre-modern.%20Enabling%20the%20feature%20you%20introduce%20a%20lot%20of%20stuff%20you%20need%3A%3CBR%20%2F%3E-%20A%20new%20document%20library%20that%20can%20be%20confusing%20for%20your%20users%3CBR%20%2F%3E-%20The%20pages%20document%20library%20that%20does%20not%20support%20(to%20my%20knowledge)%20modern%20pages%3CBR%20%2F%3E-%20A%20bunch%20of%20lists%3CBR%20%2F%3E-%20New%20SharePoint%20Groups%3CBR%20%2F%3ESo%20yes%2C%20you%20can%20better%20manage%20the%20navigation%20but%20also%20at%20the%20cost%20of%20adding%20many%20staff%20that%20does%20not%20make%20sense%20on%20modern%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418922%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418922%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20both%20for%20that%20insight.%20I%20didn't%20realize%20that%20it%20was%20really%20a%20sort%20of%20migration%20feature.%20But%20there%20is%20still%20the%20issue%20of%20hiding%20menu%20items.%20For%20now%2C%20a%20user%20can%20see%20the%20link%20but%20they%20are%20presented%20with%20the%20%22ask%20for%20permission%20to%20access%20this%20site%22%20message%20and%20a%20way%20to%20send%20a%20note%20to%20the%20owner%20of%20a%20site.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20guess%20the%20new%20%22Audience%20Targeting%22%20feature%20will%20be%20the%20answer.%20Evidently%20it's%20rolling%20out%20already%2C%20but%20I%20have%20not%20seen%20it%20in%20our%20tennant%20yet%20and%20I%20am%20not%20sure%20we%20will.%20I%20was%20aware%20of%20it%20prior%20to%20my%20question%2C%20but%20really%20wanted%20opinions%20on%20the%20Publishing%20option%20pros%20and%20cons.%20Thank%20you%20both%20for%20your%20input!%20I'm%20glad%20I%20asked%20before%20enabling%20the%20Publishing%20feature!%3CBR%20%2F%3E%3CBR%20%2F%3EAudience%20Targeting%20was%20recently%20discussed%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-sharepoint-blog%2Fsharepoint-roadmap-pitstop-april-2020%2Fba-p%2F1350523%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-sharepoint-blog%2Fsharepoint-roadmap-pitstop-april-2020%2Fba-p%2F1350523%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20here's%20a%20link%20with%20more%20details%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Foverview-of-audience-targeting-in-modern-sharepoint-sites-68113d1b-be99-4d4c-a61c-73b087f48a81%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Foverview-of-audience-targeting-in-modern-sharepoint-sites-68113d1b-be99-4d4c-a61c-73b087f48a81%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1419191%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1419191%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3EReally%20appreciate%20your%20taking%20the%20time%20to%20explain!%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1419193%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1419193%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3EThanks%20for%20taking%20the%20time%20to%20provide%20feedback!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1419274%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1419274%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F495200%22%20target%3D%22_blank%22%3E%40alandarr%3C%2FA%3E%26nbsp%3BDepending%20on%20your%20requirements%2C%20one%20option%20could%20be%20to%20create%20a%20new%20site%20page%20and%20add%20the%20%22Sites%22%20web%20part.%20It%20can%20display%20sites%20attached%20to%20the%20hub%20and%20it%20is%20also%20security%20trimmed.%20Just%20link%20this%20page%20in%20your%20hub.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1421103%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1421103%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F24099%22%20target%3D%22_blank%22%3E%40Martin%20Coupal%3C%2FA%3E.%3C%2FP%3E%3CP%3EI%20will%20look%20into%20that.%20Sometimes%20you%20just%20have%20to%20look%20at%20something%20from%20a%20different%20perspective!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1657479%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1657479%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3Bit's%20a%20real%20shame%20that%20Office%20365%20groups%20don't%20take%20part%20in%20security%20trimming%20%3A(%3C%2Fimg%3E%20My%20client%20has%20a%20blend%20of%20classic%20sites%20and%20modern%20Office%20365%20groups.%20They%20are%20moving%20towards%20the%20later%20exclusively%20but%20the%20fact%20that%20the%20link%20now%20always%20appears%20in%20quick%20links%20is%20a%20step%20backwards.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222020-09-11_15-04-30.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F217766iBAED2A0CE5797A7F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%222020-09-11_15-04-30.png%22%20alt%3D%222020-09-11_15-04-30.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1657489%22%20slang%3D%22en-US%22%3ERe%3A%20Hiding%20links%20for%20users%20without%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1657489%22%20slang%3D%22en-US%22%3E%26gt%3BThe%20other%20way%20is%20a%20custom%20navigation%20implemented%20through%20a%20SPFx%20extension...%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20reference%20material%20on%20these%3F%20Never%20used%20them.%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I am trying to figure out how to hide links in the Top Bar navigation for users that do not have access to something. I find it strange that I don't get many search results in Google that even discuss it.

 

My structure is Hub Site with a Communication Site that has several subsites. The top Bar navigation (starting at the Hub) contains links to the various subsites. Not all users have access to these sites but the links still show up for them. After doing a little research, these links are in fact hard coded, which is a big part of the problem.

 

My tenant does not yet have the Audience Targeting option for navigation which appears to be rolling out soon. At this point, I have not enabled the SharePoint Server Publishing Infrastructure at the Communication site. I'm not entirely sure I want to do that based on what I've read. By enabling this feature, would it give me options to hide those links?

 

I'm really new to SP and not sure if I want to complicate matters by enabling SharePoint Server Publishing Infrastructure. Maybe I need this and just don't realize it yet.

Thanks!

14 Replies
Highlighted
Best Response confirmed by alandarr (Contributor)
Solution

@alandarr 

 

Hi, The feature you are looking for is called security trimming, and you are correct in that if you want to make use of this then you will need to enable the publishing feature.  So it's a bit of a trade off i'm afraid.  You can read more about the options here - https://docs.microsoft.com/en-us/office365/enterprise/navigation-options-for-sharepoint-online 

Highlighted
The other way is a custom navigation implemented through a SPFx extension...by the way not a fan here of enabling publishing on modern sites
Highlighted

@Juan Carlos González Martín 

 

Totally agree, also not a fan of doing so.

Highlighted

@Juan Carlos González MartínWould you mind saying a bit more about why you don't care for publishing on Modern sites?  Thanks! 

 

Highlighted

@Juan Carlos González Martín @PeterRising 

Thanks for the info. I am also wondering, along with @Cindy Zalme why you would not suggest the Publishing option. I am hesitant to enable it, but I may be missing something if I don't.

Highlighted

@alandarr 

 

I cannot speak for @Juan Carlos González Martín, but my own personal feeling is that the publishing features have always been available with the classic SP sites in mind as opposed to the modern ones.  Initially, the publishing features were made available in modern sites with a view to migrating older  classic sites into a modern site in a sort of coexistence. They were never really meant for modern sites though, and modern sites have way more options to look professional out of the box without having to rely on the publishing features.  

 

I also feel that (personal opinion again), that as long as users cannot access content they don't have permissions for, then all is good. Security trimming for me is a nice to have, not really a make or break feature though. :smile:

Highlighted
Mainly because Publishing feature is a "legacy" feature pre-modern. Enabling the feature you introduce a lot of stuff you need:
- A new document library that can be confusing for your users
- The pages document library that does not support (to my knowledge) modern pages
- A bunch of lists
- New SharePoint Groups
So yes, you can better manage the navigation but also at the cost of adding many staff that does not make sense on modern
Highlighted

@PeterRising @Juan Carlos González Martín 

Thank you both for that insight. I didn't realize that it was really a sort of migration feature. But there is still the issue of hiding menu items. For now, a user can see the link but they are presented with the "ask for permission to access this site" message and a way to send a note to the owner of a site.

I guess the new "Audience Targeting" feature will be the answer. Evidently it's rolling out already, but I have not seen it in our tennant yet and I am not sure we will. I was aware of it prior to my question, but really wanted opinions on the Publishing option pros and cons. Thank you both for your input! I'm glad I asked before enabling the Publishing feature!

Audience Targeting was recently discussed here:
https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/sharepoint-roadmap-pitstop-april-20... 

And here's a link with more details:
https://support.office.com/en-us/article/overview-of-audience-targeting-in-modern-sharepoint-sites-6... 

Highlighted

@PeterRisingReally appreciate your taking the time to explain!  

Highlighted

@Juan Carlos González MartínThanks for taking the time to provide feedback! 

Highlighted

@alandarr Depending on your requirements, one option could be to create a new site page and add the "Sites" web part. It can display sites attached to the hub and it is also security trimmed. Just link this page in your hub. 

Highlighted

Thanks @Martin Coupal.

I will look into that. Sometimes you just have to look at something from a different perspective!

Highlighted

@PeterRising it's a real shame that Office 365 groups don't take part in security trimming :( My client has a blend of classic sites and modern Office 365 groups. They are moving towards the later exclusively but the fact that the link now always appears in quick links is a step backwards.

 

2020-09-11_15-04-30.png

Highlighted
>The other way is a custom navigation implemented through a SPFx extension...

Any reference material on these? Never used them.