Thread:Project:Support desk/How can I hide tabs for users not logged in?/reply (24)

Hide viewsource tab for users without edit permission (usually unregistered users if you've set it so): $wgHVTFUUviewsToRemove = array( 'viewsource' );