[{"data":1,"prerenderedAt":2572},["ShallowReactive",2],{"navigation_docs":3,"-guide-modules-managing":613,"-guide-modules-managing-surround":2569},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":317,"body":615,"description":2540,"extension":2563,"links":2564,"meta":2565,"navigation":2566,"path":318,"seo":2567,"stem":319,"__hash__":2568},"docs\u002F3.guide\u002F6.modules\u002F1.managing.md",{"type":616,"value":617,"toc":2539},"minimark",[618,630,640,645,648,726,729,733,876,890,894,901,905,908,1040,1043,1047,1053,1376,1379,1385,1421,1424,1431,1437,1587,1605,1609,1615,1911,1932,1935,1939,1942,1979,1988,1999,2002,2015,2040,2044,2047,2060,2066,2070,2080,2151,2154,2177,2185,2188,2192,2195,2209,2213,2220,2223,2400,2404,2410,2453,2458,2524,2528],[619,620,621,622,625,626,629],"p",{},"Modules are optional features, such as appointment booking or a shop, that an admin switches on and off on the\n",[623,624,317],"strong",{}," screen without a new deploy. SHADE itself ships none: an admin installs a trusted module as a signed\nserver package, or an untrusted one as a sandbox package. Switching a module off stops it everywhere but keeps its\ndata, so switching it on again brings everything back. Only an explicit ",[623,627,628],{},"Uninstall"," deletes data, and it keeps a\nbackup first.",[619,631,632,633,636,637,639],{},"This page covers the Modules screen from the admin's point of view. Admins can also add modules of their own, which\nrun in a sandbox: see ",[634,635,337],"a",{"href":338},". How to write a module is in the developer guide,\n",[634,638,317],{"href":437},".",[641,642,644],"h2",{"id":643},"what-users-can-do","What users can do",[619,646,647],{},"Admins:",[649,650,651,655,662,665,671,685,691,697,708],"ul",{},[652,653,654],"li",{},"See every installed module with its version, description, status and trust, and the instance's trust: the keys it\ntrusts, whether approvals are on, whether untrusted modules are allowed, and how many modules of each kind run.",[652,656,657,658,661],{},"Fill in a module's ",[623,659,660],{},"Settings","; secret ones, such as API keys, are stored encrypted and never shown again.",[652,663,664],{},"Switch a module on, once its settings are complete, the services it needs are set up, and the modules it needs\nare on; switch it off through a guided dialog.",[652,666,667,668,670],{},"Export the data of a module that is off, ",[623,669,628],{}," it (after a backup), and download or delete those backups.",[652,672,673,676,677,680,681,684],{},[623,674,675],{},"Install",", update or ",[623,678,679],{},"remove"," a trusted module: a server package signed with a key this instance trusts, such\nas SHADE's own modules and those made for the client. Then ",[623,682,683],{},"Restart"," the API, so the\nchange takes effect. Up to five packages can be installed at once, under one restart.",[652,686,687,690],{},[623,688,689],{},"Stage"," a module's update made for a later SHADE: it switches in when SHADE starts on a version it works with.",[652,692,693,696],{},[623,694,695],{},"Go back"," to the version an update replaced, or forward again, while the module's data still fits it.",[652,698,699,700,703,704,639],{},"On a new instance, answer ",[623,701,702],{},"what the site is for"," and install the modules it preselects, change the selection,\nor skip it, where the person who runs the instance added a module catalogue. See\n",[634,705,707],{"href":706},"#setting-up-a-new-instance","Setting up a new instance",[652,709,710,713,714,717,718,721,722,639],{},[623,711,712],{},"Approve a server package nobody signed",", ",[623,715,716],{},"discard"," one waiting for approval, or ",[623,719,720],{},"revoke"," an approval,\nwhere the person who runs the instance switched approvals on. See\n",[634,723,725],{"href":724},"#approving-a-server-package","Approving a server package",[619,727,728],{},"Editors and AI users cannot see or change modules. Once a module is on, editors use what it adds (its admin pages and\ncollections) as far as the module's own permissions allow.",[641,730,732],{"id":731},"who-may-do-it","Who may do it",[734,735,736,752],"table",{},[737,738,739],"thead",{},[740,741,742,746,749],"tr",{},[743,744,745],"th",{},"Action",[743,747,748],{},"Permission",[743,750,751],{},"Roles",[753,754,755,770,782,793,804,815,827,838,853,864],"tbody",{},[740,756,757,761,767],{},[758,759,760],"td",{},"See the Modules screen, the instance's trust and the server packages",[758,762,763],{},[764,765,766],"code",{},"packages.read",[758,768,769],{},"admin",[740,771,772,775,780],{},[758,773,774],{},"Switch on or off, change settings, export, uninstall, download and delete backups",[758,776,777],{},[764,778,779],{},"packages.manage",[758,781,769],{},[740,783,784,787,791],{},[758,785,786],{},"Install, update or remove a package, restart",[758,788,789],{},[764,790,779],{},[758,792,769],{},[740,794,795,798,802],{},[758,796,797],{},"Choose modules on a new instance, or skip that step",[758,799,800],{},[764,801,779],{},[758,803,769],{},[740,805,806,809,813],{},[758,807,808],{},"Upload a package for approval, see its checks, discard it, revoke an approval (approvals on)",[758,810,811],{},[764,812,779],{},[758,814,769],{},[740,816,817,820,825],{},[758,818,819],{},"Approve a package (approvals on)",[758,821,822,824],{},[764,823,779],{},", and signing in again with the password and two-factor or a passkey",[758,826,769],{},[740,828,829,832,835],{},[758,830,831],{},"Know which modules are on (the admin hides the rest)",[758,833,834],{},"signed in",[758,836,837],{},"admin, editor, ai",[740,839,840,843,850],{},[758,841,842],{},"Use a module's own features",[758,844,845,846,849],{},"the module's actions (e.g. ",[764,847,848],{},"appointments.read",")",[758,851,852],{},"admin; editors per the module's grants",[740,854,855,858,861],{},[758,856,857],{},"See a module's dashboard cards and panels in the entry editor",[758,859,860],{},"what each one needs",[758,862,863],{},"per the module; admins always",[740,865,866,869,873],{},[758,867,868],{},"See and change a module's section of Settings",[758,870,871],{},[764,872,779],{},[758,874,875],{},"admin, whatever the module's own actions",[649,877,878,881,887],{},[652,879,880],{},"Managing modules is never available to AI assistants.",[652,882,883,884,639],{},"While a module is off, ",[623,885,886],{},"its actions are refused for everyone, admins included",[652,888,889],{},"While a module is off, the work it queued waits and runs once it is on again; nothing is dropped.",[641,891,893],{"id":892},"in-the-admin","In the admin",[619,895,896],{},[897,898],"img",{"alt":899,"src":900},"The Modules screen: how far modules are trusted, and the installed modules with their switches","\u002Fscreenshots\u002Fplugins.png",[902,903,393],"h3",{"id":904},"trust",[619,906,907],{},"Every module is trusted or untrusted, and SHADE decides which; a module never does. A trusted module\nruns inside SHADE: a server package signed with a key this instance trusts, or approved by an admin where approvals\nare on. An untrusted module runs in the sandbox: a sandbox package, whoever signed it. The Modules screen shows both:",[649,909,910,933,992],{},[652,911,912,915,916,920,921,924,925,928,929,932],{},[623,913,914],{},"The Trust card",", at the top of the screen. It starts in plain words: ",[917,918,919],"em",{},"Trusted modules run with full access to\nthis setup. Untrusted modules run in a sandbox and can only do what you agreed to when installing them."," Then what\nruns (",[917,922,923],{},"Running now: 3 trusted, 1 untrusted.",") and whether untrusted modules are allowed (",[917,926,927],{},"Untrusted modules are not\nallowed on this setup. An admin can allow them below.",", the switch ",[917,930,931],{},"Allow untrusted modules",").",[652,934,935,938,939],{},[623,936,937],{},"Technical details",", closed until opened, are for checking who signed a module, or why a module is not trusted:\n",[649,940,941,951,971,981],{},[652,942,943,946,947,950],{},[917,944,945],{},"Trusted keys",": each key this instance trusts by its name and a short fingerprint, never the key itself; ",[917,948,949],{},"No\ntrusted keys: only untrusted modules can be installed."," when there are none. The person who runs the instance sets\nthem; they can't be changed in the admin.",[652,952,953,956,957,960,961,964,965,713,967,970],{},[917,954,955],{},"Approvals",": ",[917,958,959],{},"On"," or ",[917,962,963],{},"Off",", as the person who runs the instance set it; with ",[917,966,963],{},[917,968,969],{},"Only server packages signed\nwith a trusted key run."," It can't be changed in the admin.",[652,972,973,976,977,980],{},[917,974,975],{},"Approved packages",": while approvals are on, each installed package an admin approved, with its version, who\napproved it and when (",[917,978,979],{},"approve-probe 0.0.2, approved by Ann on 23 Oct 2026",") and its package's hash.",[652,982,983,956,986,960,989,639],{},[917,984,985],{},"Development folders",[917,987,988],{},"Loaded",[917,990,991],{},"None",[652,993,994,956,997,1000,1001,1004,1005],{},[623,995,996],{},"A trust badge on each module's card",[917,998,999],{},"Trusted"," (green; blue for a module loaded from a developer's folder;\norange for an approved one) or ",[917,1002,1003],{},"Untrusted"," (grey). Tapping or clicking it opens one sentence on what it means:\n",[649,1006,1007,1017,1026],{},[652,1008,1009,1012,1013,1016],{},[917,1010,1011],{},"This module runs with full access to this setup.",", with ",[917,1014,1015],{},"Signed by rg-digital.",";",[652,1018,1019,1012,1022,1025],{},[917,1020,1021],{},"This module runs in a sandbox and can only do what you agreed to when installing it.",[917,1023,1024],{},"Signed by …"," when a\ntrusted key signed its sandbox package (it stays untrusted);",[652,1027,1028,1029,1032,1033,1012,1036,1039],{},"for a developer's folder: ",[917,1030,1031],{},"… loaded from a folder on a developer's computer.","; for an approved one: ",[917,1034,1035],{},"… because an\nadmin approved it.",[917,1037,1038],{},"Approved by {name} on {date}."," (its package's hash is in the technical details).",[619,1041,1042],{},"A package that says of itself that it is trusted is refused, signed or not.",[902,1044,1046],{"id":1045},"trusted-modules","Trusted modules",[619,1048,1049,1050,1052],{},"A panel above the untrusted modules on the Modules screen, ",[917,1051,1046],{},", for server packages:",[649,1054,1055,1077,1101,1213,1248,1270,1294,1322,1341,1355,1369],{},[652,1056,1057,1060,1061,1064,1065,1068,1069,1072,1073,1076],{},[623,1058,1059],{},"Install a server package"," opens a file picker (",[764,1062,1063],{},".shade-module.json"," files up to 10 MB each, at most five at\nonce). The files are checked first; a problem shows as a notice (",[917,1066,1067],{},"This is not a SHADE server package",", with the\nreason) and nothing is stored. With several files, the install screen comes once per package (",[917,1070,1071],{},"Package 1 of 3","),\neach agreed to with ",[623,1074,1075],{},"Agree and go on",", and the last installs them all together, or none if one fails. A module\nthat builds on another may come in the same upload as that module.\nThe button is off when the instance trusts no keys, with a line saying so.",[652,1078,1079,713,1082,960,1085,1088,1089,1092,1093,1096,1097,1100],{},[623,1080,1081],{},"The install screen",[917,1083,1084],{},"Install {name}?",[917,1086,1087],{},"Update {name}?"," (with the version installed now). It is the same\nscreen for a server package, an approval (",[917,1090,1091],{},"Approve {name}",") and an untrusted module, in the same order: the version\nand description, who vouches for it (",[917,1094,1095],{},"Signed by {key}, a key this setup trusts","; for an approval, that you do;\nfor an untrusted module, its signature or that nobody checked its code), whether it replaces the module of the same\nname loaded from its own folder, a red notice ",[917,1098,1099],{},"This module will be trusted"," (it runs inside SHADE and can read and\nchange everything) for a trusted module, and that it runs after the next restart.",[652,1102,1103,1106,1107,1109,1110,1183,1186,1187,1190,1191,1194,1195,960,1198,1201,1202,1205,1206,1209,1210,1212],{},[623,1104,1105],{},"What it may do"," (",[917,1108,389],{},"). A line at the top says whether it is trusted (beyond what it\ndeclares it could read and change everything) or untrusted (it gets only what it declares). Then each capability in\nplain words, with its lines and what it keeps, for example:",[649,1111,1112,1125,1149,1154,1162,1167,1172,1178],{},[652,1113,1114,1117,1118,713,1121,1124],{},[917,1115,1116],{},"Routes on its own addresses: for anyone on the internet, for signed-in users, or in the admin",", with each route\n(",[764,1119,1120],{},"GET \u002Fwishlist (public)",[764,1122,1123],{},"GET \u002Fhost\u002Fappointments (account: bookings.read)",");",[652,1126,1127,1130,1131,713,1134,1137,1138,713,1141,1144,1145,1124],{},[917,1128,1129],{},"Users: it sees which user is signed in on its routes for users, gives account roles, and keeps data that belongs to\naccounts",": one line per role, place, ability and role it gives (",[764,1132,1133],{},"role host",[764,1135,1136],{},"role host per locations",",\n",[764,1139,1140],{},"role host: bookings.read",[764,1142,1143],{},"role booking-manager can give host","). You give the roles on the Users screen\n(",[634,1146,1148],{"href":1147},"\u002Fguide\u002Fpeople-and-security\u002Faccounts#account-roles","Account roles",[652,1150,1151,1016],{},[917,1152,1153],{},"Keeps personal data, which people can ask to see and have erased",[652,1155,1156,713,1159,1016],{},[917,1157,1158],{},"Sends email through this site's email provider",[917,1160,1161],{},"Connects to these internet addresses, over https",[652,1163,1164,1016],{},[917,1165,1166],{},"Lets the site or the admin load from these outside addresses",[652,1168,1169,1016],{},[917,1170,1171],{},"Does work in the background on its own, on a schedule",[652,1173,1174,1177],{},[917,1175,1176],{},"Shares these collections with modules that build on it",": those modules may then be granted them,\nand their own consent says so;",[652,1179,1180,639],{},[917,1181,1182],{},"Shows in these places of the admin, for information",[1184,1185],"br",{},"An ",[623,1188,1189],{},"optional"," capability has its own panel with a switch, saying ",[917,1192,1193],{},"Allow"," and the capability's name, and whether it is ",[917,1196,1197],{},"Allowed",[917,1199,1200],{},"Not allowed",": the module works without it, and it stays off unless you switch it on (you\ncan change it later on its card). A capability this module may not have here is marked ",[917,1203,1204],{},"Skipped",", with why; one it\nrequires and may not have stops the install, with one sentence saying why (",[917,1207,1208],{},"readme-cards requires the process\ncapability, which needs a trusted module","), and ",[623,1211,675],{}," stays off.",[652,1214,1215,956,1218,1221,1222,1106,1225,1228,1229,1232,1233,1236,1237,713,1240,1243,1244,1247],{},[623,1216,1217],{},"What it does on its own",[917,1219,1220],{},"Acts on its own, in its background work, its data sources and its\nroutes for visitors and for anyone, and may then"," … each thing the module may do in SHADE's content when nobody is\nsigned in, in plain words with its name, such as ",[917,1223,1224],{},"Read Posts, drafts included",[764,1226,1227],{},"collections.website-posts.read",")\nor ",[917,1230,1231],{},"Change media in the library: replace and crop its files, and edit alt text, focal point and name","\n(",[764,1234,1235],{},"media.update","). A module may do exactly these on its own, nothing else; it can never be given what stays with\nadmins (users, roles, tokens, settings, the theme, modules, the audit and error logs, rebuilds), the forms and their\nvisitors' submissions, deleting media, nor another module's collections. It may be given ",[917,1238,1239],{},"Upload images, PDF files\nand fonts to the media library",[917,1241,1242],{},"Publish and unpublish the site's pages: this changes what visitors see and starts\na new build of the site"," and ",[917,1245,1246],{},"Delete the site's pages for good, with their earlier versions",". When an editor uses\nthe module's screens, it does only what that editor may.",[652,1249,1250,1253,1254,1257,1258,1261,1262,1265,1266,1269],{},[623,1251,1252],{},"Builds on other modules",", for a module made on top of another: each module it needs, with the\nversions it works with and the one installed (",[917,1255,1256],{},"shelf ^1.0.0 (installed: 1.2.0)","), and the collections of that\nmodule it uses (",[917,1259,1260],{},"Uses these collections it shares: …","); each such grant above says whose collection it is (",[917,1263,1264],{},"Read\nShelf items, drafts included (shared by the shelf module)","). A module whose required module isn't installed, or is\nof a version it doesn't work with, can't be installed (",[917,1267,1268],{},"reader requires shelf ^1.0.0: install shelf first","); nor can\nan update of a module that another installed module doesn't work with.",[652,1271,1272,713,1275,1278,1279,1282,1283,1286,1287,1290,1291,1293],{},[623,1273,1274],{},"For an update",[917,1276,1277],{},"This version asks for more than {version}"," when it does, with each new item marked ",[917,1280,1281],{},"New",";\ntaking something away, or new places in the admin, asks nothing. Below the description, ",[917,1284,1285],{},"What changed since\n{version}",": the module's own notes for each version after the installed one, newest first, when its package has\nthem (from the module's ",[764,1288,1289],{},"CHANGELOG.md","). ",[623,1292,675],{}," stays off until you type the module's\nname, which agrees to trusting it and to that list too (an approval asks the same; an untrusted module, which stays\nin the sandbox, is confirmed with a checkbox instead): SHADE installs a version only with consent to everything it\nnewly asks for, and never runs a package whose code needs more than its signed capabilities say (it is left out at start,\nwith the reason in the list below).",[652,1295,1296,1299,1300,1303,1304,1012,1307,1310,1311,960,1314,1317,1318,1321],{},[623,1297,1298],{},"The list:"," each package with its version, ",[917,1301,1302],{},"Signed by {key}"," (or ",[917,1305,1306],{},"Approved by {name} on {date}",[917,1308,1309],{},"Approval\nrevoked"," once it is), and ",[917,1312,1313],{},"Running",[917,1315,1316],{},"After a restart",", with a remove button (refused while a module that is on\nneeds it). A package left out at start is ",[917,1319,1320],{},"Not running",", with why in plain words (not signed with a trusted key\nor changed after signing, an approval that no longer holds, made for another SHADE version, using modules SHADE\ndoesn't share, needing more than its signed capabilities, a module it builds on missing, of a version it doesn't\nwork with, left out itself or no longer sharing what it uses, its file naming other modules than its code, code\nthat fails to load, or one of its background tasks that must be done first) and\nthe technical details. A\nrestart would leave it out again, so it asks for none: install a new build of it, or remove it.",[652,1323,1324,1327,1328,1331,1332,1335,1336,1340],{},[623,1325,1326],{},"A staged update."," A signed package that works only with a later SHADE than the one running is staged instead\nof refused, if a version of the module is installed: its install screen says ",[917,1329,1330],{},"Waits for SHADE {range}",", and its\nrow says ",[917,1333,1334],{},"Staged: {version}, switches in with SHADE {range}",". The installed version keeps running. When SHADE is\nupdated to a version the package works with, it switches in on its own at the start, before the modules'\nmigrations run. If it no longer checks out by then (its key no longer trusted, or what it was agreed to no longer\nfits), it is dropped and the installed version keeps running; the error log says why. Installing, going back to\nor removing the module drops its staged update. The ",[634,1337,1339],{"href":1338},"\u002Frun\u002Fupdating-and-backups#previewing-an-update","update preview"," counts staged\nupdates as part of the SHADE they wait for.",[652,1342,1343,1346,1347,1350,1351,1354],{},[623,1344,1345],{},"Go back to {version}."," After an update, the version it replaced is kept, and the row has a ",[623,1348,1349],{},"Go back to\n{version}"," button (after going back, ",[623,1352,1353],{},"Go forward to {version}","). It runs after the next restart. When the\nmodule's permissions can be put back as they were, a short question asks to confirm; otherwise its install screen\nis shown again. The button is off, with the reason on it, when the kept version can't run on the data as it is now:\nits key is no longer trusted or its approval no longer holds, a module it needs is missing, a migration of the newer\nversion changed the module's tables, or one of its background tasks reshaped stored data since the update.",[652,1356,1357,1360,1361,1364,1365,1368],{},[623,1358,1359],{},"While changes wait"," (an install, update or removal not running yet), a notice ",[917,1362,1363],{},"Changes to trusted modules are\nwaiting for a restart"," with ",[623,1366,1367],{},"Restart now",". On a production instance the API restarts within a few seconds and\nthe website stays up. A window follows the restart (stopping, starting, ready) and reloads the editor by itself\nwhen SHADE answers again; if it does not come back within two minutes, the window says so and links to Errors. On a\ndevelopment setup it says to restart SHADE by hand.",[652,1370,1371,1372,1375],{},"A server package then appears in the list of modules below like any module: switched off at first, with its\nsettings, switch and the rest. Its ",[623,1373,1374],{},"screens"," join the sidebar in the editor's language, for everyone with the\nactions they need; what it adds to the website reaches the site with the next publish.",[902,1377,707],{"id":1378},"setting-up-a-new-instance",[619,1380,1381,1382,639],{},"The person who runs the instance may add a module catalogue to it: signed module packages, with a list of what a\nsite may be for. While no module is installed, an admin who opens the dashboard is taken to ",[623,1383,1384],{},"Set up your site",[649,1386,1387,1393,1399,1409,1415],{},[652,1388,1389,1392],{},[623,1390,1391],{},"What the site is for",": content, a shop, bookings or what the catalogue offers. Each choice ticks the modules it\nneeds; some modules are offered whatever you choose.",[652,1394,1395,1398],{},[623,1396,1397],{},"Modules to install",": tick or untick any of them. Each says how it would arrive: signed with a key the instance\ntrusts, waiting for approval, or as an untrusted module in the sandbox.",[652,1400,1401,1404,1405,1408],{},[623,1402,1403],{},"Install chosen modules"," shows each module's install screen in turn, the same screen an upload on the Modules\nscreen shows, with what it can do. A module another one needs comes first. Close the screen to leave a module out.\nA module no trusted key signed goes to ",[634,1406,1407],{"href":724},"approval"," where approvals are on; otherwise it\nis refused, as its upload would be.",[652,1410,1411,1414],{},[623,1412,1413],{},"What happened"," lists each module: installed, waiting for approval, left out, or not installed, with the reason.\nInstalled modules start after a restart, from the Modules screen, switched off until you switch them on.",[652,1416,1417,1420],{},[623,1418,1419],{},"Skip"," goes to the dashboard. Skipped or gone through, the step doesn't ask again; modules are added on the\nModules screen from then on.",[902,1422,725],{"id":1423},"approving-a-server-package",[619,1425,1426,1427,1430],{},"Where the person who runs the instance switched approvals on (see ",[634,1428,1429],{"href":47},"Deployment","), an admin\ncan trust a server package that no key the instance trusts signed, for example a module a developer built for this\nclient without signing it. Approving makes it trusted: it runs inside SHADE and can read and change everything, as a\nsigned one can. The checks SHADE shows catch mistakes and show what the code says it does; they cannot stop code that\nsets out to do more. Approve only what you would sign. With approvals off, none of this shows, and an unsigned package\nis refused when installed.",[619,1432,1433,1434,1436],{},"The ",[623,1435,955],{}," panel on the Modules screen, step by step:",[1438,1439,1440,1459,1473,1487,1534,1540,1550,1572],"ol",{},[652,1441,1442,1445,1446,1448,1449,1452,1453,1455,1456,1458],{},[623,1443,1444],{},"Upload a server package"," (a ",[764,1447,1063],{}," file up to 10 MB). It is checked as for installing (a server\npackage, made for this SHADE version, using only what SHADE shares, not claiming to be trusted) and waits:\n",[917,1450,1451],{},"approve-probe 0.0.2 is waiting for approval."," Nothing in it runs, and what is installed doesn't change. A package\na trusted key signed is installed under ",[917,1454,1046],{}," instead; a sandbox package is always untrusted and is\ninstalled under ",[917,1457,337],{},". Uploading another version of the same module replaces the one waiting.",[652,1460,1461,1464,1465,1468,1469,1472],{},[623,1462,1463],{},"Waiting for approval"," lists each package with its version, who uploaded it and when, how many findings its\nchecks have, and its hash (a fingerprint of the file: the approval is for exactly that file). ",[623,1466,1467],{},"Review"," opens it;\nthe bin ",[623,1470,1471],{},"discards"," it.",[652,1474,1475,1478,1479,1482,1483,1486],{},[623,1476,1477],{},"The review"," starts with the warning ",[917,1480,1481],{},"Runs inside SHADE and can do anything SHADE's process can: it can read and\nchange everything."," An admin with neither two-factor nor a passkey sees ",[917,1484,1485],{},"Set up two-factor or a passkey on your\naccount page before you approve a module.",", with a link to the account page, and nothing else is asked.",[652,1488,1489,1492,1493,1531,1533],{},[623,1490,1491],{},"The checks",", worked out from the file alone:",[649,1494,1495,1511,1514,1525,1528],{},[652,1496,1497,1498,713,1501,713,1504,713,1507,1510],{},"the modules it imports, with risky ones marked (",[764,1499,1500],{},"node:child_process",[764,1502,1503],{},"node:fs",[764,1505,1506],{},"node:net",[764,1508,1509],{},"node:http","…);",[652,1512,1513],{},"what it says it does (its capabilities, what it may do on its own, where it shows in the admin); every start\nchecks its code against this, and leaves it out when the code does more;",[652,1515,1516,1517,1520,1521,1524],{},"known vulnerabilities, ",[917,1518,1519],{},"as of"," the date of the list that came with this SHADE version: the packages bundled into\nit that are on that list, or ",[917,1522,1523],{},"Unknown"," when the package doesn't say what it bundles. No outside service is asked;",[652,1526,1527],{},"the internet addresses it declares, and any its code names that it doesn't;",[652,1529,1530],{},"whether it imports test code, reads the server's settings, or has admin styles reaching outside its own screens.",[1184,1532],{},"Each finding has a box: tick each one to say you have read it.",[652,1535,1536,1539],{},[623,1537,1538],{},"The consent",", as for installing: what it may do, an optional capability with a switch.",[652,1541,1542,1545,1546,1549],{},[623,1543,1544],{},"Sign in again",": your password, and a code from your authenticator app (or a backup code), or your passkey\n(",[623,1547,1548],{},"Use a passkey instead"," when you have both). The password alone is never enough. Five tries in a quarter\nhour, then wait; each wrong try is in the audit log.",[652,1551,1552,1555,1556,1559,1560,1563,1564,1567,1568,1571],{},[623,1553,1554],{},"Type its name"," and press ",[623,1557,1558],{},"Approve",". ",[917,1561,1562],{},"approve-probe is approved. It runs after a restart."," Every admin gets\nthe ",[917,1565,1566],{},"plugins"," security alert by email, and the audit log has ",[917,1569,1570],{},"packages.approve"," with the hash and the findings.",[652,1573,1574,1576,1577,1579,1580,1583,1584,639],{},[623,1575,683],{}," under ",[917,1578,1046],{},", as for any install: the package runs after it. In the list it says ",[917,1581,1582],{},"Approved\nby {name} on {date}"," instead of ",[917,1585,1586],{},"Signed by",[619,1588,1589,1590,1593,1594,1596,1597,1600,1601,1604],{},"A new version, or any change to the file, is another hash: it waits for approval again, and the approved version keeps\nrunning until the new one is approved. ",[623,1591,1592],{},"Revoke"," (under ",[917,1595,975],{}," in the panel) asks first, then switches\nthe module off at once, stops its background work, keeps it from being switched on again, and leaves it out at the\nnext start (",[917,1598,1599],{},"Approval revoked","); the audit log has ",[917,1602,1603],{},"packages.revoke"," and every admin gets the alert. To run it again, an\nadmin approves it again. If approvals are switched off, approved packages stop running at the next start, saying why.",[902,1606,1608],{"id":1607},"the-modules-screen","The Modules screen",[619,1610,1611,1612,1614],{},"Sidebar entry ",[623,1613,317],{}," (admin group). A short intro (\"Modules add features to the site and the admin. Switching\none off stops it everywhere; its data is kept.\") and one card per module, showing:",[649,1616,1617,1620,1626,1686,1694,1704,1739,1786,1842,1856,1888,1900],{},[652,1618,1619],{},"The title and description (in Dutch and English) and the version.",[652,1621,1622,1623,932],{},"Its trust badge (see ",[634,1624,393],{"href":1625},"#trust",[652,1627,1628,1629],{},"A status badge:",[734,1630,1631,1641],{},[737,1632,1633],{},[740,1634,1635,1638],{},[743,1636,1637],{},"Badge",[743,1639,1640],{},"Meaning",[753,1642,1643,1652,1662,1674],{},[740,1644,1645,1649],{},[758,1646,1647],{},[623,1648,959],{},[758,1650,1651],{},"The module is running.",[740,1653,1654,1659],{},[758,1655,1656],{},[623,1657,1658],{},"Off, data kept",[758,1660,1661],{},"Off, and it still holds data.",[740,1663,1664,1668],{},[758,1665,1666],{},[623,1667,963],{},[758,1669,1670,1671,932],{},"Off, nothing stored (not shown next to ",[623,1672,1673],{},"Needs setup",[740,1675,1676,1680],{},[758,1677,1678],{},[623,1679,1673],{},[758,1681,1682,1683,1685],{},"Off, and a required setting is empty or a service it needs is not set up. Shown next to ",[623,1684,1658],{}," too, so it is clear why the switch is disabled.",[652,1687,1688,1691,1692,932],{},[623,1689,1690],{},"Set up first:"," with links to the services that are missing (for example ",[623,1693,287],{},[652,1695,1696,1699,1700,1703],{},[623,1697,1698],{},"Needs: …"," (modules it requires) and ",[623,1701,1702],{},"Needed by: …"," (modules that are on and require it).",[652,1705,1706,1708,1709,960,1712,1715,1716,960,1719,1721,1722,713,1725,713,1728,713,1731,1734,1735,1738],{},[623,1707,389],{},", folded: what the module may do, one row per capability with its lines and what it\nkeeps, ",[917,1710,1711],{},"Required",[917,1713,1714],{},"Optional",", and ",[917,1717,1718],{},"Active",[917,1720,1204],{}," with why (",[917,1723,1724],{},"Switched off by an admin",[917,1726,1727],{},"Needs a trusted\nmodule",[917,1729,1730],{},"This SHADE does not offer it yet",[917,1732,1733],{},"Needs accounts switched on","). Admins switch an optional\ncapability on or off here; switching one on asks nothing more, since it was on the consent already. What the module\ndoes with a capability that is off is refused (its routes answer ",[917,1736,1737],{},"not found"," while optional routes are off), and\nthe refusal is counted for the module.",[652,1740,1741,1744,1745,1748,1749,1752,1753,1137,1755,713,1758,713,1761,713,1764,1767,1768,1775,1776,1778,1779,1782,1783,1785],{},[623,1742,1743],{},"Processes",", for a trusted module that keeps work running in the background, such as a\nconnection to a chat service: a table of its processes, refreshed every 10 seconds while the page is open. Each row\nshows the process, whether it runs once (",[917,1746,1747],{},"One worker",") or on ",[917,1750,1751],{},"Every worker",", the worker, its state (",[917,1754,1313],{},[917,1756,1757],{},"Starting",[917,1759,1760],{},"Waiting to restart",[917,1762,1763],{},"Failed",[917,1765,1766],{},"Stopped","), how often it restarted, and its last error with when it\nhappened. A process another worker runs says so (",[917,1769,1770,1771],{},"Waiting: ",[1772,1773,1774],"worker",{}," runs it","). A process that keeps crashing waits\nlonger between starts (1 second, doubling to 5 minutes) and is marked ",[623,1777,1763],{}," after its maximum restarts (10\nunless the module says otherwise); each crash is also in the ",[634,1780,1781],{"href":226},"error log",".\nAdmins have a ",[623,1784,683],{}," button: it starts the process again everywhere it runs, a failed one with its restarts\nback at 0, within seconds, and the restart is in the audit log. Switching the module off stops its processes;\nswitching it on starts them; an update starts them again after the restart it needs. Untrusted modules have none.",[652,1787,1788,1791,1792,1795,1796,1799,1800,1828,1830,1831,1833,1834,1837,1838,1841],{},[623,1789,1790],{},"Health",", for a module that is on: ",[917,1793,1794],{},"Healthy",", or ",[917,1797,1798],{},"Needs attention","; the info icon says\nwhat SHADE checks. SHADE measures this itself, for trusted and untrusted modules alike, so a module cannot say it is\nfine when it is not. Each problem says what happened, that other parts may still work, and what to do:",[649,1801,1802,1808,1815,1820],{},[652,1803,1804,1805,1807],{},"background work that stopped for good: use ",[623,1806,683],{}," in the processes list, and contact the module's developer\nif it stops again; background work that keeps stopping: SHADE restarts it by itself;",[652,1809,1810,1811,1814],{},"a task the module runs at set times that failed the last time: it tries again at its next time; ",[623,1812,1813],{},"Open Errors","\nshows what went wrong;",[652,1816,1817,1818,1016],{},"10 or more errors in the last two hours, with a link to the ",[634,1819,1781],{"href":226},[652,1821,1822,1823,1106,1826,932],{},"webhook events of the module that did not get through after six tries: see why and send them again under\n",[623,1824,1825],{},"Open Webhooks",[634,1827,295],{"href":296},[1184,1829],{},"A module may also have a check of its own, for what only it knows, such as an expired key at a provider. SHADE runs\nit every 5 minutes and gives it 10 seconds: no answer in time, or a check that fails, counts as ",[917,1832,1798],{},".\nIts message shows below (",[917,1835,1836],{},"The module says: …","), with when it was last checked. The card refreshes every 10 seconds\nwhile the page is open. A module that needs attention for 10 minutes raises the ",[917,1839,1840],{},"A module needs attention"," security\nalert.",[652,1843,1844,1845,1848,1849,1232,1852,1855],{},"Above the modules, a card ",[917,1846,1847],{},"Modules that need attention"," appears while SHADE has paused a switchable module or a module\nit needs keeps failing, with what is failing and a link to resume it under ",[623,1850,1851],{},"Settings → Modules",[634,1853,185],{"href":1854},"\u002Fguide\u002Fwebsite\u002Fsite-settings#a-paused-module","). It shows nothing while every module is fine.",[652,1857,1858,1859,1862,1863,713,1866,1869,1870,1795,1873,1876,1877,1880,1881,1883,1884,1887],{},"Beside it, a card ",[917,1860,1861],{},"Outside services SHADE stopped calling"," appears while SHADE is not calling an outside service\nbecause it kept failing (decision 0018 point 13): a payment provider, email, media storage, backups, a webhook or build hook\naddress, error reporting, or a host a module calls. Each line says who calls it (",[917,1864,1865],{},"Payments",[917,1867,1868],{},"Module shop","), the host,\nsince when, the next try and the last failure (a status such as ",[764,1871,1872],{},"503",[764,1874,1875],{},"timeout","; never an address's path or an\nanswer). SHADE tries again by itself, 30 seconds after it stopped and then at most every 5 minutes; ",[623,1878,1879],{},"Try now"," (admins:\nthe permission to switch modules) lets the next call through at once, from every container, and is in the audit log. Work for the service\nwaits meanwhile and is not lost. A module's own line shows on its card too, and does not make it ",[917,1882,1798],{},".\nA service that stays stopped for 10 minutes raises the ",[917,1885,1886],{},"An outside service keeps failing"," security alert.",[652,1889,1890,1891,1893,1894,1897,1898,639],{},"Buttons: ",[623,1892,660],{}," (when the module has settings), and for a module that is off and holds data, ",[623,1895,1896],{},"Export data","\nand ",[623,1899,628],{},[652,1901,1902,1903,1910],{},"A switch, ",[623,1904,1905,1906],{},"\"",[1907,1908,1909],"name",{}," on\"",". It is disabled while the module needs setup (to switch on) or while another module\nthat is on needs it (to switch off).",[619,1912,1913,1914,1917,1918],{},"Below the cards, a ",[623,1915,1916],{},"Backups"," section lists the backups made by uninstalls (\"",[1907,1919,956,1920],{},[1921,1922,1923,1924],"n",{}," records, ",[1925,1926,1927,1928,1931],"date",{},"\") with\n",[623,1929,1930],{},"Download backup"," and delete buttons. Its help text warns that backups may hold personal data and should be\ndeleted when no longer needed. Deleting asks for confirmation (\"The backup is deleted for good.\").",[619,1933,1934],{},"After a switch, the sidebar entries and collections of the module appear or disappear at once.",[902,1936,1938],{"id":1937},"where-modules-appear","Where modules appear",[619,1940,1941],{},"A trusted module can appear in more places than its own pages, only while it is on:",[649,1943,1944,1950,1956,1966],{},[652,1945,1946,1949],{},[623,1947,1948],{},"Dashboard:"," cards below the pages, each shown to the editors who may see it (a module can make a card for\nadmins only, or for everyone who reads the site).",[652,1951,1952,1955],{},[623,1953,1954],{},"Entry editor:"," a panel beside the form of the collections the module names (core's or its own). A panel reads\nthe entry; when it changes something, it does so as the editor, with the editor's own rights, and the editor shows\nthe entry again.",[652,1957,1958,1961,1962,1965],{},[623,1959,1960],{},"Settings:"," its sections on the module's settings page (Settings → Modules → the module), below its settings\nform, for ",[623,1963,1964],{},"admins only",": configuring a module is an admin's job, whatever else the module lets editors do.",[652,1967,1968,1971,1972,1975,1976,1978],{},[623,1969,1970],{},"Sidebar:"," its screens in the section the module names, or, when it names none, under the module's own name (or a\ngroup it names) in the ",[623,1973,1974],{},"More"," row after the sections; an entry may also stand in the settings area's ",[623,1977,317],{}," group instead.",[619,1980,1981,1982],{},"When one of these fails, a short notice (\"",[1907,1983,1984,1985,1987],{}," could not be shown\") takes its place and the rest of the screen\nworks on; the error is in the ",[634,1986,1781],{"href":226}," under the module's name. Untrusted\nmodules show none of these: they keep their admin pages described with fields.",[619,1989,1990,1991,1994,1995,1998],{},"These run without anyone opening the module's pages, so ",[623,1992,1993],{},"installing or updating a package lists where it shows",",\nunder ",[917,1996,1997],{},"Where it shows in the admin"," (dashboard cards, panels beside which collections, sections of Settings),\nmarking what an update adds. It is information, not something to agree to: these\nparts work with the editor's own rights, so they reach nothing new. SHADE does not start a package that shows in more\nplaces than its list says. A module's styling stays inside its own parts: it never changes SHADE's own screens.",[902,2000,660],{"id":2001},"settings",[619,2003,2004,2006,2007,2012,2013,932],{},[623,2005,660],{}," opens the module's settings page, ",[623,2008,1905,2009],{},[1907,2010,2011],{}," settings\""," (also in Settings → Modules), with a form of the module's settings, using the usual fields\n(see ",[634,2014,120],{"href":121},[649,2016,2017,2020,2027,2033],{},[652,2018,2019],{},"A setting that was never saved shows its default (a booking reminder's 24 hours, say), the value the module uses,\nnever an empty field.",[652,2021,2022,2023,2026],{},"Secret settings are password inputs. When one is stored, the field shows dots and the help \"Saved. Type a new\nvalue to replace it.\"; typing replaces it, ",[623,2024,2025],{},"Remove"," clears it (\"Will be removed when you save.\"), leaving it\nempty keeps it. The stored value never reaches the browser.",[652,2028,2029,2030,2032],{},"Settings may be incomplete while the module is off (it then shows ",[623,2031,1673],{},"). While it is on, a required\nsetting cannot be emptied.",[652,2034,2035,2036,2039],{},"The form saves every setting. When another admin saved the module's settings (or switched it) after the page was\nloaded, the save is refused and nothing is lost: the form shows \"Someone else changed this meanwhile\" with ",[623,2037,2038],{},"Reload",", which loads it as it is now (what was changed in the form goes). The same holds for an untrusted module's admin pages described with fields.",[902,2041,2043],{"id":2042},"switching-on","Switching on",[619,2045,2046],{},"Flipping the switch on is refused when:",[649,2048,2049,2054,2057],{},[652,2050,2051,2052,1124],{},"a service one of its required capabilities needs is not set up (email, or accounts on the Users\nscreen; see ",[634,2053,287],{"href":288},[652,2055,2056],{},"a required setting is empty;",[652,2058,2059],{},"a module it needs is not on.",[619,2061,2062,2063],{},"On success the toast says \"",[1907,2064,2065],{}," is on\", redirects made when it was last switched off are removed, and the site\nrebuilds if the module shows anything on the site.",[902,2067,2069],{"id":2068},"switching-off-the-guided-turn-off","Switching off: the guided turn-off",[619,2071,2072,2073,2079],{},"Flipping the switch off opens the dialog ",[623,2074,2075,2076],{},"\"Switch ",[1907,2077,2078],{}," off?\""," (\"Its pages, routes and AI tools stop right\naway and the site rebuilds. Its data is kept…\"). Step by step:",[1438,2081,2082,2105,2120,2129,2138],{},[652,2083,2084,2087,2088],{},[623,2085,2086],{},"Impact report."," What the module affects:\n",[649,2089,2090,2093,2096,2102],{},[652,2091,2092],{},"its collections and their entry counts (\"Its items disappear from the site\");",[652,2094,2095],{},"modules that are on and need it (\"Switch these off first: …\", by their titles);",[652,2097,2098,2099],{},"how much it stores (\"Its data is kept\", \"",[1921,2100,2101],{}," records stay in the database\");",[652,2103,2104],{},"open business the module itself reports, such as appointments still to come. Something that blocks is shown in\nred and stops the turn-off; a warning is shown as a warning. A check of the module's that fails to run counts as\nblocking.",[652,2106,2107,2110,2111],{},[623,2108,2109],{},"Redirects for item pages"," (when its collections have public item pages, e.g. products): \"Send visitors of\nits ",[1921,2112,2113,2114,2117,2118,639],{}," pages there instead\", prefilled with ",[764,2115,2116],{},"\u002F"," (decided: a redirect home is better for visitors and search\nengines than a not-found page; the help text says so). Each item page, in every language, becomes a temporary\nredirect to that path while the module is off; empty means no redirects. See\n",[634,2119,181],{"href":182},[652,2121,2122,2125,2126,2128],{},[623,2123,2124],{},"Export"," (when it holds data): ",[623,2127,1896],{}," downloads a JSON file; the audit entry records that it was\nused.",[652,2130,2131,2134,2135,2137],{},[623,2132,2133],{},"Switch off."," Disabled while the report is loading or something blocks. Nothing is typed: its data is kept, so\nonly ",[623,2136,628],{}," asks for the name. The module\nstops, redirects are created, the site rebuilds, and an audit entry records the choices.",[652,2139,2140,2143,2144,1364,2146,713,2148,2150],{},[623,2141,2142],{},"Afterwards"," the card shows ",[623,2145,1658],{},[623,2147,1896],{},[623,2149,628],{}," and the switch to turn it on\nagain.",[902,2152,628],{"id":2153},"uninstall",[619,2155,2156,2158,2159,2165,2166],{},[623,2157,628],{}," (only for a module that is off and holds data) opens ",[623,2160,2161,2162],{},"\"Uninstall ",[1907,2163,2164],{},"?\"",": \"Its data and settings\nare deleted. A backup of the data is kept first…\". When modules that build on it are installed and off, it warns:\n\"",[2167,2168,2169,2170],"names",{}," builds on it: what it uses of this module’s data is deleted too.\" \"Type ",[1907,2171,2172,2173,2176],{}," to uninstall it\": the\ntechnical name (e.g. ",[764,2174,2175],{},"appointments",") is typed. Then:",[649,2178,2179,2182],{},[652,2180,2181],{},"a backup is kept: its settings without secrets, all its stored data, every entry of its collections, and its\nopening hours and holds;",[652,2183,2184],{},"its data is deleted (switched on later, it starts fresh): its collections' entries with their versions and\ntranslations, its opening hours and holds, and its settings and secrets;",[619,2186,2187],{},"Backups stay until an admin deletes them. They may contain personal data (form messages, bookings, orders).",[641,2189,2191],{"id":2190},"on-the-website","On the website",[619,2193,2194],{},"What a module shows on the site depends on the module; see the list below. Switching affects the site as follows:",[649,2196,2197,2206],{},[652,2198,2199,2202,2203,2205],{},[623,2200,2201],{},"Off:"," its addresses for visitors and users answer ",[917,2204,1737],{},"; what it gave to pages disappears, so a page\nrepeating its items shows none; its collections' item pages are left out of the build (and redirected if chosen);\nwhat other modules tell it, such as a payment's status, waits until it is on again.",[652,2207,2208],{},"The site rebuilds after a switch when the module adds anything to the site.",[902,2210,2212],{"id":2211},"the-official-modules","The official modules",[619,2214,2215,2216,2219],{},"SHADE ships with no modules: an instance has the packages an admin installed. The official modules are free and\npublic under the Apache License 2.0, and any host can install them. Each comes as a signed package; an instance trusts\nthe official public key when its operator adds it to ",[764,2217,2218],{},"SHADE_TRUSTED_MODULE_KEYS",". Anyone may instead build a module from\nits source and sign it with a key of their own, or an admin approves the package.",[619,2221,2222],{},"The official public key is published with 0.1.0.",[734,2224,2225,2241],{},[737,2226,2227],{},[740,2228,2229,2232,2235,2238],{},[743,2230,2231],{},"Module (name)",[743,2233,2234],{},"What it brings",[743,2236,2237],{},"Needs",[743,2239,2240],{},"Page",[753,2242,2243,2261,2282,2300,2323,2340,2358,2382],{},[740,2244,2245,2250,2253,2256],{},[758,2246,2247,2248,849],{},"Appointments (",[764,2249,2175],{},[758,2251,2252],{},"Visitors book a free time on the site; opening hours and bookings in the admin. Blocks switching off with appointments in the next 24 hours, warns about later ones.",[758,2254,2255],{},"email",[758,2257,2258],{},[634,2259,2260],{"href":330},"Appointments",[740,2262,2263,2269,2275,2278],{},[758,2264,2265,2266,849],{},"Payments (",[764,2267,2268],{},"payments",[758,2270,2271,2272,2274],{},"Mollie's hosted checkout for the modules that take money: starting, cancelling and refunding payments for them, the ",[623,2273,1865],{}," screen, the security alert on forged payment notices. Its Mollie key is a secret setting.",[758,2276,2277],{},"—",[758,2279,2280],{},[634,2281,1865],{"href":358},[740,2283,2284,2290,2293,2295],{},[758,2285,2286,2287,849],{},"Dutch services (",[764,2288,2289],{},"nl",[758,2291,2292],{},"PDOK address lookup (postcode and house number fill in street and town) and KvK company lookup (name or number fill in a company's name and address), each off until switched on. Its KvK key is a secret setting.",[758,2294,2277],{},[758,2296,2297],{},[634,2298,2299],{"href":322},"Dutch services",[740,2301,2302,2308,2315,2318],{},[758,2303,2304,2305,849],{},"Shop (",[764,2306,2307],{},"commerce",[758,2309,2310,2311,2314],{},"Products and categories (collections, with product item pages), a cart and hosted checkout, ",[623,2312,2313],{},"Orders"," and stock, releasing expired stock reservations by itself. Warns about unpaid and unshipped orders when switched off.",[758,2316,2317],{},"payments (module), email",[758,2319,2320],{},[634,2321,2322],{"href":334},"Shop",[740,2324,2325,2331,2334,2336],{},[758,2326,2327,2328,849],{},"Website (",[764,2329,2330],{},"website",[758,2332,2333],{},"The site's pages and posts in the visual editor, the header and footer, the theme, styles and components, redirects and builds. Its build hook address is a secret setting.",[758,2335,2277],{},[758,2337,2338],{},[634,2339,148],{"href":154},[740,2341,2342,2348,2351,2353],{},[758,2343,2344,2345,849],{},"Analytics (",[764,2346,2347],{},"analytics",[758,2349,2350],{},"Visits counted without cookies, and a report in the admin.",[758,2352,2277],{},[758,2354,2355],{},[634,2356,2357],{"href":342},"Analytics",[740,2359,2360,2366,2375,2377],{},[758,2361,2362,2363,849],{},"Editorial (",[764,2364,2365],{},"editorial",[758,2367,2368,2369,1243,2372,2374],{},"Scheduled publish, review requests, releases, out-of-date translations and comment threads on entries, with the ",[623,2370,2371],{},"Reviews",[623,2373,577],{}," screens.",[758,2376,2277],{},[758,2378,2379],{},[634,2380,2381],{"href":326},"Editorial",[740,2383,2384,2390,2393,2395],{},[758,2385,2386,2387,849],{},"Error forwarding (",[764,2388,2389],{},"error-forwarding",[758,2391,2392],{},"Sends the errors SHADE stores to a GlitchTip or Sentry you choose, with rules for which go where. Its DSNs are secret settings.",[758,2394,2277],{},[758,2396,2397],{},[634,2398,2399],{"href":346},"Error forwarding",[641,2401,2403],{"id":2402},"rules-and-limits","Rules and limits",[619,2405,2406,2409],{},[623,2407,2408],{},"Server packages",":",[649,2411,2412,2421,2424,2427,2430,2436,2439,2447,2450],{},[652,2413,2414,2415,2417,2418,2420],{},"Only a server package signed with a key this instance trusts, or approved by an admin, installs; see\n",[634,2416,393],{"href":1625},". Otherwise a module can only be untrusted, a sandbox package (",[634,2419,337],{"href":338},").\nA package changed after signing, signed by a key the instance doesn't trust, or claiming to be trusted is refused.",[652,2422,2423],{},"It must say it works with this SHADE version, and may use only the modules SHADE shares with it.",[652,2425,2426],{},"A package with the name of an untrusted module is refused until that module is removed.",[652,2428,2429],{},"A package that would make modules require each other in a circle is refused: SHADE could start none of them.",[652,2431,2432,2435],{},[623,2433,2434],{},"Everything takes effect after a restart",": installing, updating, going back and removing. Every start checks each server\npackage again (its signature, or its approval for exactly that file) and leaves out, saying why, one whose key is no\nlonger trusted, whose file changed, whose approval was revoked, or that was approved while approvals are now off.",[652,2437,2438],{},"Removing a package switches its module off at once; it stops running after the restart. Its data and settings stay,\nlike switching a module off, and installed again it starts off.",[652,2440,2441,2442,2446],{},"Removing a package also takes away its team roles at once. Their team members are deactivated and keep their audit\nhistory; they can't sign in until an admin gives them a role in the same step that reactivates them\n(",[634,2443,2445],{"href":2444},"\u002Fguide\u002Fpeople-and-security\u002Fteam#module-roles","Module roles","). Switching a module off leaves its roles and their\nteam members as they are.",[652,2448,2449],{},"Staging, installing several at once and going back are for server packages only; untrusted modules update one at\na time, as before.",[652,2451,2452],{},"An update that changes a team role of the module (a new role, a required or default action, a role it gives) lists\nit on the consent screen and asks again. The update adds the actions it newly declares to the role; what an admin\ntook off stays off.",[619,2454,2455],{},[623,2456,2457],{},"Switching:",[649,2459,2460,2463,2472,2478,2484,2490,2498,2503,2506,2512,2518],{},[652,2461,2462],{},"Every module starts off, with no settings.",[652,2464,2465,2468,2469,2471],{},[623,2466,2467],{},"What \"off\" means:"," its addresses answer ",[917,2470,1737],{},", like unknown ones; its background work and its reactions to\nchanges are skipped, and its AI tools are left out; its actions are refused, for admins too; its sidebar entries\nand collections disappear from the admin, and its admin pages say \"This module is switched off.\"; what it gives to\npages answers nothing; its collections have no item pages; what other modules tell it, such as a payment's status, waits until it is on again.",[652,2473,2474,2477],{},[623,2475,2476],{},"Requirements."," A module cannot be switched on before the modules it requires are on, nor off, uninstalled or\nremoved while a module that is on requires it (the refusal names that module). A module counts as off while a\nmodule it requires is off. Two admins cannot switch a module and its requirement off at the same time.",[652,2479,2480,2483],{},[623,2481,2482],{},"Completeness."," \"Needs setup\" means a required setting is empty (a stored secret counts as filled) or a service\nis missing. Saving settings checks the values against the module's fields; while the module is on, the settings\nmust stay complete.",[652,2485,2486,2489],{},[623,2487,2488],{},"Secrets"," are stored encrypted, apart from the other settings, and never shown again. The audit entry names the\nchanged settings, never their values. Export and backups leave secrets out.",[652,2491,2492,2494,2495,2497],{},[623,2493,181],{}," from a turn-off are temporary, marked as the module's, and removed when the module is switched on\nagain. A redirect from a path to itself is skipped. The target must be a site path starting with ",[764,2496,2116],{}," (at most 500\ncharacters).",[652,2499,2500,2502],{},[623,2501,628],{}," is refused while the module is on or a module that is on requires it, and unless the name is typed.",[652,2504,2505],{},"If the module's own work on switching fails, the error is logged and the switch still happens.",[652,2507,2508,2511],{},[623,2509,2510],{},"Who hears of a turn-off."," The other active admins get an email when email is set up; the audit log always\nrecords it, with the choices.",[652,2513,2514,2517],{},[623,2515,2516],{},"Across languages:"," the impact report counts item pages in every language, and each gets its own redirect.",[652,2519,2520,2523],{},[623,2521,2522],{},"Timing."," A switch takes effect at once on every part of the instance; should a message between them be lost, it\nis picked up within a minute. Stopping or switching an untrusted module reaches every part within 5 seconds.",[641,2525,2527],{"id":2526},"for-developers","For developers",[619,2529,2530,2531,2534,2535,2538],{},"The code and its tests: ",[764,2532,2533],{},"shade\u002Ffeatures\u002Fpackages\u002FREADME.md"," in the ",[764,2536,2537],{},"shade"," repository.",{"title":2540,"searchDepth":2541,"depth":2541,"links":2542},"",2,[2543,2544,2545,2558,2561,2562],{"id":643,"depth":2541,"text":644},{"id":731,"depth":2541,"text":732},{"id":892,"depth":2541,"text":893,"children":2546},[2547,2549,2550,2551,2552,2553,2554,2555,2556,2557],{"id":904,"depth":2548,"text":393},3,{"id":1045,"depth":2548,"text":1046},{"id":1378,"depth":2548,"text":707},{"id":1423,"depth":2548,"text":725},{"id":1607,"depth":2548,"text":1608},{"id":1937,"depth":2548,"text":1938},{"id":2001,"depth":2548,"text":660},{"id":2042,"depth":2548,"text":2043},{"id":2068,"depth":2548,"text":2069},{"id":2153,"depth":2548,"text":628},{"id":2190,"depth":2541,"text":2191,"children":2559},[2560],{"id":2211,"depth":2548,"text":2212},{"id":2402,"depth":2541,"text":2403},{"id":2526,"depth":2541,"text":2527},"md",null,{},true,{"title":317,"description":2540},"m5iik4EjnJFOUBRiTMVZ85EvpDYFzNf50OTriz7u_gU",[2570,2571],{"title":307,"path":308,"stem":309,"description":2540,"children":-1},{"title":321,"path":322,"stem":323,"description":2540,"children":-1},1796500152153]