[{"data":1,"prerenderedAt":1903},["ShallowReactive",2],{"navigation_docs":3,"-developers-capabilities":613,"-developers-capabilities-surround":1900},[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":389,"body":615,"description":649,"extension":1894,"links":1895,"meta":1896,"navigation":1897,"path":390,"seo":1898,"stem":391,"__hash__":1899},"docs\u002F4.developers\u002F10.capabilities.md",{"type":616,"value":617,"toc":1885},"minimark",[618,643,858,863,999,1003,1737,1742,1746,1790,1794,1806,1810,1832,1836,1862,1866,1881],[619,620,621,622,626,627,630,631,634,635,638,639,642],"p",{},"What a module may do is one declaration in its manifest, ",[623,624,625],"code",{},"capabilities",". Each entry names a\ncapability, says whether the module needs it (",[623,628,629],{},"required",", the default) or works without it (",[623,632,633],{},"optional","), and gives its\nparameters. SHADE decides for each capability whether untrusted modules, trusted modules or both may have it; nothing\na module writes changes that. The install consent and the Modules page are made from the declaration, in English and\nDutch. The code is ",[623,636,637],{},"shade\u002Fkernel\u002Fmodules\u002Fcapabilities.ts"," (types, registry, checks) and\n",[623,640,641],{},"shade\u002Ffeatures\u002Fpackages\u002Fserver\u002Fcapabilities.ts"," (states, the optional switch, the refusals).",[644,645,650],"pre",{"className":646,"code":647,"language":648,"meta":649,"style":649},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineModule({\n  name: 'readme-cards',\n  \u002F\u002F …\n  capabilities: {\n    http: {},                                         \u002F\u002F its routes\n    network: { hosts: ['api.github.com'] },           \u002F\u002F the hosts its code calls\n    email: { need: 'optional' },                      \u002F\u002F works without; an admin switches it on\n    kv: { data: { purpose: 'readmeCards.keeps', personal: 'none' } }\n  }\n})\n","ts","",[623,651,652,676,699,706,717,731,766,793,843,849],{"__ignoreMap":649},[653,654,657,661,664,668,672],"span",{"class":655,"line":656},"line",1,[653,658,660],{"class":659},"s7zQu","export",[653,662,663],{"class":659}," default",[653,665,667],{"class":666},"s2Zo4"," defineModule",[653,669,671],{"class":670},"sTEyZ","(",[653,673,675],{"class":674},"sMK4o","{\n",[653,677,679,683,686,689,693,696],{"class":655,"line":678},2,[653,680,682],{"class":681},"swJcz","  name",[653,684,685],{"class":674},":",[653,687,688],{"class":674}," '",[653,690,692],{"class":691},"sfazB","readme-cards",[653,694,695],{"class":674},"'",[653,697,698],{"class":674},",\n",[653,700,702],{"class":655,"line":701},3,[653,703,705],{"class":704},"sHwdD","  \u002F\u002F …\n",[653,707,709,712,714],{"class":655,"line":708},4,[653,710,711],{"class":681},"  capabilities",[653,713,685],{"class":674},[653,715,716],{"class":674}," {\n",[653,718,720,723,725,728],{"class":655,"line":719},5,[653,721,722],{"class":681},"    http",[653,724,685],{"class":674},[653,726,727],{"class":674}," {},",[653,729,730],{"class":704},"                                         \u002F\u002F its routes\n",[653,732,734,737,739,742,745,747,750,752,755,757,760,763],{"class":655,"line":733},6,[653,735,736],{"class":681},"    network",[653,738,685],{"class":674},[653,740,741],{"class":674}," {",[653,743,744],{"class":681}," hosts",[653,746,685],{"class":674},[653,748,749],{"class":670}," [",[653,751,695],{"class":674},[653,753,754],{"class":691},"api.github.com",[653,756,695],{"class":674},[653,758,759],{"class":670},"] ",[653,761,762],{"class":674},"},",[653,764,765],{"class":704},"           \u002F\u002F the hosts its code calls\n",[653,767,769,772,774,776,779,781,783,785,787,790],{"class":655,"line":768},7,[653,770,771],{"class":681},"    email",[653,773,685],{"class":674},[653,775,741],{"class":674},[653,777,778],{"class":681}," need",[653,780,685],{"class":674},[653,782,688],{"class":674},[653,784,633],{"class":691},[653,786,695],{"class":674},[653,788,789],{"class":674}," },",[653,791,792],{"class":704},"                      \u002F\u002F works without; an admin switches it on\n",[653,794,796,799,801,803,806,808,810,813,815,817,820,822,825,828,830,832,835,837,840],{"class":655,"line":795},8,[653,797,798],{"class":681},"    kv",[653,800,685],{"class":674},[653,802,741],{"class":674},[653,804,805],{"class":681}," data",[653,807,685],{"class":674},[653,809,741],{"class":674},[653,811,812],{"class":681}," purpose",[653,814,685],{"class":674},[653,816,688],{"class":674},[653,818,819],{"class":691},"readmeCards.keeps",[653,821,695],{"class":674},[653,823,824],{"class":674},",",[653,826,827],{"class":681}," personal",[653,829,685],{"class":674},[653,831,688],{"class":674},[653,833,834],{"class":691},"none",[653,836,695],{"class":674},[653,838,839],{"class":674}," }",[653,841,842],{"class":674}," }\n",[653,844,846],{"class":655,"line":845},9,[653,847,848],{"class":674},"  }\n",[653,850,852,855],{"class":655,"line":851},10,[653,853,854],{"class":674},"}",[653,856,857],{"class":670},")\n",[859,860,862],"h2",{"id":861},"how-it-is-checked","How it is checked",[864,865,866,874,905,914,920,945,957],"ul",{},[867,868,869,873],"li",{},[870,871,872],"strong",{},"Strict."," A capability or parameter SHADE doesn't know is refused, never ignored, at load and at install.",[867,875,876,879,880,883,884,887,888,892,893,896,897,900,901,904],{},[870,877,878],{},"Against trust"," (",[623,881,882],{},"validateCapabilities","). A required capability the module's trust doesn't allow refuses the\ninstall in one sentence: \"readme-cards requires the process capability, which needs a trusted module\" (Dutch:\n\"readme-cards vraagt de mogelijkheid process, die alleen een vertrouwde module krijgt\"). An optional one is skipped,\nand the consent and the Modules page say why. What an untrusted module may have is one property of each\ncapability's definition, ",[623,885,886],{},"untrusted"," (the ",[889,890,891],"em",{},"Allowed for"," column below): ",[623,894,895],{},"false"," (trusted only), ",[623,898,899],{},"true"," (both),\n",[623,902,903],{},"'only'"," (untrusted only) or limits on its parameters and lines, such as no account routes or sockets.",[867,906,907,879,910,913],{},[870,908,909],{},"An untrusted module's parts",[623,911,912],{},"untrustedPartProblems","). The same property decides which manifest parts an\nuntrusted module may have: a part is allowed when every capability it needs is one an untrusted module may have,\nwithin its limits (\"server: account and token routes need a trusted module: GET \u002Fmine (account)\", \"schedules needs the\nschedule capability, which needs a trusted module\"). Parts that need no capability stay open (who it is, its\ndeclaration, settings, health check and contributions); any other part, and one giving no lines, is refused.",[867,915,916,919],{},[870,917,918],{},"Not set up."," A capability this instance has not set up refuses the install when it is required (\"readme-cards\nrequires the accounts capability, which needs setting up first: switch accounts on\"); optional, it is skipped.",[867,921,922,925,926,929,930,933,934,936,937,940,941,944],{},[870,923,924],{},"Against the manifest."," ",[623,927,928],{},"shade-module build"," refuses a manifest whose parts need a capability or a line it doesn't\ndeclare, naming it: \"its manifest needs the http capability for GET \u002Fcard (public): add capabilities.http\".\n",[623,931,932],{},"shade-module capabilities"," prints what the manifest needs. The build writes the declaration, resolved, into the\npackage (",[623,935,625],{},", with each capability's need, parameters and lines), beside ",[623,938,939],{},"uses"," and ",[623,942,943],{},"bundled","; the\nsignature covers it.",[867,946,947,950,951,879,953,956],{},[870,948,949],{},"At start."," A package whose code needs more than its signed declaration is left out with the reason\n",[623,952,625],{},[623,954,955],{},"unlistedCapabilities",").",[867,958,959,962,963,966,967,970,971,974,975,978,979,982,983,986,987,990,991,994,995,998],{},[870,960,961],{},"At run time."," What a capability gives refuses a module that does not have it active (FORBIDDEN, counted for the\nmodule): the sandbox's bridge (",[623,964,965],{},"needCapability","), the email service\nand kv (",[623,968,969],{},"requireCapability",", which asks the module manager's ",[623,972,973],{},"activeCapabilityParams"," and gives the provider the\nparameters agreed to, such as kv's quotas), ",[623,976,977],{},"moduleFetch"," and the sandbox's egress (",[623,980,981],{},"network",", every refusal\ncounted where it happens), a module's routes while its optional ",[623,984,985],{},"http"," is off (404), its\nschedules while its optional ",[623,988,989],{},"schedule"," is off (they skip) and its processes while its optional ",[623,992,993],{},"process"," is off\n(they don't run). A module asks with ",[623,996,997],{},"hasCapability(ctx, name)",".",[859,1000,1002],{"id":1001},"the-capabilities","The capabilities",[1004,1005,1006,1027],"table",{},[1007,1008,1009],"thead",{},[1010,1011,1012,1016,1018,1021,1024],"tr",{},[1013,1014,1015],"th",{},"Capability",[1013,1017,891],{},[1013,1019,1020],{},"Parameters",[1013,1022,1023],{},"Its lines",[1013,1025,1026],{},"Optional?",[1028,1029,1030,1076,1103,1140,1169,1194,1249,1315,1338,1362,1384,1407,1442,1469,1484,1513,1535,1553,1569,1587,1618,1634,1665,1690,1718],"tbody",{},[1010,1031,1032,1037,1040,1042,1073],{},[1033,1034,1035],"td",{},[623,1036,985],{},[1033,1038,1039],{},"both (untrusted: public and session routes only)",[1033,1041,834],{},[1033,1043,1044,1045,1048,1049,1048,1052,1048,1055,1058,1059,1062,1063,1066,1067,1072],{},"each route: ",[623,1046,1047],{},"GET \u002Fcard (public)",", ",[623,1050,1051],{},"GET \u002Fmine (account: tasks.read)",[623,1053,1054],{},"POST \u002Fnotes (session)",[623,1056,1057],{},"GET \u002Fexport (token)","; a public ",[623,1060,1061],{},"GET"," route's cache with it, ",[623,1064,1065],{},"GET \u002Fcard.svg (public, cached 300 s, stale 60 s)",", so a changed cache asks again (",[1068,1069,1071],"a",{"href":1070},"\u002Fdevelopers\u002Fmodules\u002Froutes#cache-headers-and-svg-answers","cache headers",")",[1033,1074,1075],{},"yes: its routes answer 404 while it is off",[1010,1077,1078,1082,1085,1087,1100],{},[1033,1079,1080],{},[623,1081,989],{},[1033,1083,1084],{},"trusted",[1033,1086,834],{},[1033,1088,1089,1090,1048,1093,1048,1096,1099],{},"each schedule, with its interval or its cron expression and time zone: ",[623,1091,1092],{},"tidy (every 60 s)",[623,1094,1095],{},"nightly-report (cron 0 3 * * * in Europe\u002FAmsterdam)",[623,1097,1098],{},"morning-digest (cron 30 8 * * mon-fri in the site's time zone)","; a changed interval, expression or time zone asks again",[1033,1101,1102],{},"yes",[1010,1104,1105,1110,1119,1132,1137],{},[1033,1106,1107],{},[623,1108,1109],{},"kv",[1033,1111,1112,1113,1116,1117,1072],{},"both (untrusted: ",[623,1114,1115],{},"data.personal"," must be ",[623,1118,834],{},[1033,1120,1121,1124,1125,1128,1129],{},[623,1122,1123],{},"maxKeys"," (default 10 000, ≤ 100 000), ",[623,1126,1127],{},"maxValueBytes"," (default 256 KB, ≤ 1 MB), ",[623,1130,1131],{},"data",[1033,1133,1134,1135],{},"none; its limits in words; a higher quota asks again. See ",[1068,1136,1109],{"href":406},[1033,1138,1139],{},"yes: every call is refused while it is off",[1010,1141,1142,1147,1153,1161,1167],{},[1033,1143,1144],{},[623,1145,1146],{},"cache",[1033,1148,1149,1150,1072],{},"trusted (untrusted modules keep kv with ",[623,1151,1152],{},"ttlMs",[1033,1154,1155,1157,1158,1160],{},[623,1156,1123],{}," (default 1000, ≤ 10 000), ",[623,1159,1127],{}," (default 64 KB, ≤ 1 MB)",[1033,1162,1134,1163],{},[1068,1164,1166],{"href":1165},"\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services#cache","Cache",[1033,1168,1139],{},[1010,1170,1171,1176,1178,1189,1192],{},[1033,1172,1173],{},[623,1174,1175],{},"queue",[1033,1177,1084],{},[1033,1179,1180,1048,1183,1185,1186],{},[623,1181,1182],{},"queues: { \u003Cname>: { retries ≤ 20, backoffMs, concurrency ≤ 10, timeoutMs? } }",[623,1184,1131],{},"; the jobs in the manifest part ",[623,1187,1188],{},"jobs",[1033,1190,1191],{},"each queue",[1033,1193,1102],{},[1010,1195,1196,1200,1202,1230,1246],{},[1033,1197,1198],{},[623,1199,993],{},[1033,1201,1084],{},[1033,1203,1204,879,1207,925,1210,1213,1214,1217,1218,1221,1222,1225,1226,1229],{},[623,1205,1206],{},"processes: { \u003Cname>: { mode, memoryMb, stopTimeoutMs, maxRestarts } }",[623,1208,1209],{},"mode",[623,1211,1212],{},"singleton"," or ",[623,1215,1216],{},"per-instance","; ",[623,1219,1220],{},"memoryMb"," 64–256, default 64; ",[623,1223,1224],{},"stopTimeoutMs"," 1000–30000, default 10000; ",[623,1227,1228],{},"maxRestarts"," 1–50, default 10)",[1033,1231,1232,1233,1236,1237,1239,1240,1242,1243],{},"each process of the manifest's ",[623,1234,1235],{},"processes","; in words its mode, memory and restarts; a new process, more memory or restarts, or ",[623,1238,1216],{}," replacing ",[623,1241,1212],{}," asks again. See ",[1068,1244,1245],{"href":410},"Processes",[1033,1247,1248],{},"yes: its processes don't run while it is off",[1010,1250,1251,1255,1258,1284,1312],{},[1033,1252,1253],{},[623,1254,981],{},[1033,1256,1257],{},"both",[1033,1259,1260,1263,1264,1267,1268,896,1271,1274,1275,1213,1278,879,1281,1283],{},[623,1261,1262],{},"hosts"," (public names; ",[623,1265,1266],{},"*.example.com"," for trusted modules only), ",[623,1269,1270],{},"fromSettings",[623,1272,1273],{},"streams"," (trusted only): each host with its protocol, ",[623,1276,1277],{},"wss:\u002F\u002Ffeed.example.com",[623,1279,1280],{},"https:\u002F\u002Fevents.example.com",[623,1282,1266],{}," for the names under it)",[1033,1285,1286,1287,1048,1290,1293,1294,1296,1297,1300,1301,1304,1305,1308,1309],{},"each host, ",[623,1288,1289],{},"from setting \u003Cname>",[623,1291,1292],{},"stream \u003Chost with its protocol>","; a new one asks again. Trusted modules call out with ",[623,1295,977],{},", untrusted ones with the sandbox's ",[623,1298,1299],{},"fetch",", under the same rules: https, declared hosts, public addresses only, redirects checked. See ",[1068,1302,1303],{"href":414},"Network",". A process holds the streams open with ",[623,1306,1307],{},"ctx.connections",": at most 8 at once, 1 MB per message, closed after 2 minutes without data. See ",[1068,1310,1245],{"href":1311},"\u002Fdevelopers\u002Fprocesses#long-lived-connections",[1033,1313,1314],{},"yes: every call and every new stream is refused while it is off",[1010,1316,1317,1322,1324,1334,1336],{},[1033,1318,1319],{},[623,1320,1321],{},"files",[1033,1323,1084],{},[1033,1325,1326,1329,1330,879,1332,1072],{},[623,1327,1328],{},"maxBytes"," (at most 1 GB), ",[623,1331,1131],{},[1068,1333,421],{"href":422},[1033,1335,834],{},[1033,1337,1102],{},[1010,1339,1340,1345,1347,1357,1360],{},[1033,1341,1342],{},[623,1343,1344],{},"webhooks",[1033,1346,1084],{},[1033,1348,1349,1350,1353,1354,1356],{},"none: it sends the events the module ",[623,1351,1352],{},"emits"," with an external view; where they go is the admins', on the ",[1068,1355,295],{"href":296}," screen",[1033,1358,1359],{},"each event",[1033,1361,1102],{},[1010,1363,1364,1369,1371,1379,1382],{},[1033,1365,1366],{},[623,1367,1368],{},"channels",[1033,1370,1084],{},[1033,1372,1373,1376,1377,1356],{},[623,1374,1375],{},"kinds: { \u003Ckind>: '\u003Cwhat it is about>' }",", 1 to 20 kinds: the messages it sends to the team's chats; which channels take a kind is the admins', on the ",[1068,1378,307],{"href":308},[1033,1380,1381],{},"each kind, with what it is about",[1033,1383,1102],{},[1010,1385,1386,1391,1398,1403,1405],{},[1033,1387,1388],{},[623,1389,1390],{},"subscribe",[1033,1392,1393,1394,1397],{},"both (untrusted: its sandbox package's ",[623,1395,1396],{},"on",", ids only, never an immediate-only event)",[1033,1399,1400,1401],{},"none: the events it hears, from the manifest part ",[623,1402,1396],{},[1033,1404,1359],{},[1033,1406,1102],{},[1010,1408,1409,1414,1417,1430,1440],{},[1033,1410,1411],{},[623,1412,1413],{},"realtime",[1033,1415,1416],{},"both (untrusted: updates only, no sockets)",[1033,1418,1419,1420,1422,1423,1425,1426,1429],{},"none: two channels, worded apart on the consent (",[1068,1421,417],{"href":418},"): updates, the routes with ",[623,1424,1413],{}," (an untrusted module's public GET routes too), and a trusted module's sockets, the manifest part ",[623,1427,1428],{},"realtime: { sockets }"," (two-way connections with visitors)",[1033,1431,1432,1433,1436,1437,1072],{},"each realtime route (",[623,1434,1435],{},"GET \u002Forder-status","), each socket (",[623,1438,1439],{},"socket \u002Frooms\u002F:room (account)",[1033,1441,1102],{},[1010,1443,1444,1449,1451,1464,1467],{},[1033,1445,1446],{},[623,1447,1448],{},"notify",[1033,1450,1257],{},[1033,1452,1453,1456,1457,1460,1461,1463],{},[623,1454,1455],{},"methods"," (by name, ",[623,1458,1459],{},"email"," so far; each person's choice decides which they get, ",[1068,1462,425],{"href":426},"); an untrusted module to the instance's admins only",[1033,1465,1466],{},"each notification method",[1033,1468,1102],{},[1010,1470,1471,1475,1478,1480,1482],{},[1033,1472,1473],{},[623,1474,1459],{},[1033,1476,1477],{},"both (untrusted: to the instance's admins only)",[1033,1479,834],{},[1033,1481,834],{},[1033,1483,1102],{},[1010,1485,1486,1491,1493,1495,1510],{},[1033,1487,1488],{},[623,1489,1490],{},"accounts",[1033,1492,1084],{},[1033,1494,834],{},[1033,1496,1497,1048,1500,1048,1503,1048,1506,1509],{},[623,1498,1499],{},"role …",[623,1501,1502],{},"route …",[623,1504,1505],{},"table …",[623,1507,1508],{},"shared role …"," from its account roles, account routes, tables and shared roles",[1033,1511,1512],{},"yes: its account routes answer 404 while it is skipped; it is skipped while accounts' accounts are off",[1010,1514,1515,1520,1523,1525,1532],{},[1033,1516,1517],{},[623,1518,1519],{},"content",[1033,1521,1522],{},"both (untrusted: reading only)",[1033,1524,834],{},[1033,1526,1527,1528,1531],{},"what it serves under ",[623,1529,1530],{},"\u002Fapi\u002Fv1\u002Fcontent\u002F\u003Cplugin>"," and its site data keys",[1033,1533,1534],{},"only while it serves nothing",[1010,1536,1537,1542,1544,1546,1550],{},[1033,1538,1539],{},[623,1540,1541],{},"rebuild",[1033,1543,1084],{},[1033,1545,834],{},[1033,1547,1548],{},[623,1549,1541],{},[1033,1551,1552],{},"no",[1010,1554,1555,1560,1562,1564,1567],{},[1033,1556,1557],{},[623,1558,1559],{},"personalData",[1033,1561,1084],{},[1033,1563,834],{},[1033,1565,1566],{},"its personal data sources",[1033,1568,1552],{},[1010,1570,1571,1576,1578,1580,1585],{},[1033,1572,1573],{},[623,1574,1575],{},"allowedSources",[1033,1577,1084],{},[1033,1579,834],{},[1033,1581,1582],{},[623,1583,1584],{},"\u003Csite|admin> \u003Ckind> \u003Csource>",[1033,1586,1552],{},[1010,1588,1589,1594,1596,1598,1616],{},[1033,1590,1591],{},[623,1592,1593],{},"consent",[1033,1595,1084],{},[1033,1597,834],{},[1033,1599,1600,1048,1603,1048,1606,1609,1610,1613,1614],{},[623,1601,1602],{},"category …",[623,1604,1605],{},"category … loads from …",[623,1607,1608],{},"category … sets … cookie …",", or ",[623,1611,1612],{},"exempt: \u003Creason>",", from ",[623,1615,1593],{},[1033,1617,1552],{},[1010,1619,1620,1625,1627,1629,1632],{},[1033,1621,1622],{},[623,1623,1624],{},"sharedCollections",[1033,1626,1084],{},[1033,1628,834],{},[1033,1630,1631],{},"its shared collections",[1033,1633,1552],{},[1010,1635,1636,1641,1643,1645,1663],{},[1033,1637,1638],{},[623,1639,1640],{},"teamRoles",[1033,1642,1084],{},[1033,1644,834],{},[1033,1646,1647,1048,1649,1048,1652,1048,1655,1658,1659,1662],{},[623,1648,1499],{},[623,1650,1651],{},"role … always holds …",[623,1653,1654],{},"role … holds …",[623,1656,1657],{},"role … manages …"," from ",[623,1660,1661],{},"permissions.roles","; a new line asks again",[1033,1664,1552],{},[1010,1666,1667,1672,1674,1676,1688],{},[1033,1668,1669],{},[623,1670,1671],{},"adminPlaces",[1033,1673,1084],{},[1033,1675,834],{},[1033,1677,1678,1048,1681,1048,1684,1687],{},[623,1679,1680],{},"widgets …",[623,1682,1683],{},"panels …",[623,1685,1686],{},"settings …",": for information, asks nothing again",[1033,1689,1552],{},[1010,1691,1692,1697,1699,1705,1716],{},[1033,1693,1694],{},[623,1695,1696],{},"programs",[1033,1698,1084],{},[1033,1700,1701,1704],{},[623,1702,1703],{},"names",": the client programs it calls",[1033,1706,1707,1708,1711,1712,1715],{},"each client program; a new one asks again. It calls them with ",[623,1709,1710],{},"callProgram",", through the host (",[1068,1713,349],{"href":1714},"\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services#client-programs","). A module that needs a container next to SHADE (a headless browser, another runtime) names that program here; there is no capability that starts a container",[1033,1717,1139],{},[1010,1719,1720,1728,1730,1732,1735],{},[1033,1721,1722,1048,1725],{},[623,1723,1724],{},"blocks",[623,1726,1727],{},"adminPages",[1033,1729,886],{},[1033,1731,834],{},[1033,1733,1734],{},"from the sandbox package",[1033,1736,1552],{},[619,1738,1739,1741],{},[623,1740,939],{}," is not a capability: it lists the core actions the module's own actor may perform, worded per action on the\nsame consent.",[859,1743,1745],{"id":1744},"what-it-keeps","What it keeps",[619,1747,1748,1048,1750,940,1752,1754,1755,1217,1757,1759,1760,1763,1764,879,1767,1048,1769,1772,1773,1776,1777,1780,1781,1783,1784,1786,1787,1789],{},[623,1749,1109],{},[623,1751,1321],{},[623,1753,1175],{}," declare what they keep (",[623,1756,1131],{},[623,1758,1344],{}," keep nothing of the module's own:\nthe delivery log is core's, with its own retention): a ",[623,1761,1762],{},"purpose"," (a key of the\nmodule's own texts), ",[623,1765,1766],{},"personal",[623,1768,834],{},[623,1770,1771],{},"account"," for rows tied to an account account, ",[623,1774,1775],{},"person"," for other personal data) and,\nunless nothing is about a person, a ",[623,1778,1779],{},"retention"," kind of the module's own ",[623,1782,1779],{}," part. Personal data of kind\n",[623,1785,1775],{}," needs a source in the module's ",[623,1788,1559],{}," named after the capability. The consent shows it: \"Keeps: …;\nnothing about a person\".",[859,1791,1793],{"id":1792},"updates","Updates",[619,1795,1796,1797,1800,1801,1239,1803,1805],{},"An update asks again (",[623,1798,1799],{},"asksForMore",") for a new capability, a new line (route, host, schedule, role, ability, table),\nan optional capability made required, and what a capability's definition calls wider: more memory, a higher quota,\n",[623,1802,1216],{},[623,1804,1212],{},", keeping data about a person where it kept none. Taking something away asks\nnothing, and neither do new admin places. Installing sends what the admin agreed to; a package install refuses unless\nit names every capability that asks again, and a sandbox package's typed name agrees to its required ones.",[859,1807,1809],{"id":1808},"optional-capabilities","Optional capabilities",[619,1811,1812,1813,1816,1817,1820,1821,1824,1825,1828,1829,998],{},"An optional capability is off after install unless the admin switched it on in the consent. On the Modules page each\nmodule's card lists its capabilities, active or skipped with the reason, with a switch for each optional one (admins,\n",[623,1814,1815],{},"packages.manage","): ",[623,1818,1819],{},"PUT \u002Fapi\u002Fpackages\u002Fcapabilities\u002F\u003Cname>\u002F\u003Ccapability>"," with ",[623,1822,1823],{},"{ on }",", audited ",[623,1826,1827],{},"packages.capability",".\nSwitching on asks nothing more: the declaration is the one agreed to. The states are in ",[623,1830,1831],{},"module_capabilities",[859,1833,1835],{"id":1834},"packages-built-before","Packages built before",[619,1837,1838,1839,1048,1841,1843,1844,1846,1847,1849,1850,1852,1853,1856,1857,1213,1859,1861],{},"A package built before the declaration is refused: a server package needs its signed ",[623,1840,625],{},[623,1842,939],{}," and\n",[623,1845,1671],{},", and a sandbox package its ",[623,1848,625],{}," declaration; build such a package again with\n",[623,1851,928],{},". A manifest with a ",[623,1854,1855],{},"services"," key is refused at load: declare the ",[623,1858,1459],{},[623,1860,1490],{}," capability instead.",[859,1863,1865],{"id":1864},"capability-settings","Capability settings",[619,1867,1868,1869,1871,1872,1874,1875,1877,1878,1880],{},"A module is switched on only once the services behind its required capabilities are set up: ",[623,1870,1459],{}," needs email,\n",[623,1873,1490],{}," needs accounts on (the Accounts screen). While a module that is on requires\none, that service cannot be switched off. A required ",[623,1876,1490],{}," while accounts are off is refused when switching on, in\none sentence (\"appointments requires the accounts capability, which needs setting up first: switch accounts on\";\nDutch: \"appointments vraagt de mogelijkheid accounts, die eerst ingesteld moet zijn: zet gebruikersaccounts aan\") and\nshown as skipped. An optional ",[623,1879,1490],{}," lets the module work without accounts (appointments' guest booking): it stays\nskipped while they are off, can be switched on once they are on, and the module's account routes answer 404 while it is\nskipped.",[1882,1883,1884],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":649,"searchDepth":678,"depth":678,"links":1886},[1887,1888,1889,1890,1891,1892,1893],{"id":861,"depth":678,"text":862},{"id":1001,"depth":678,"text":1002},{"id":1744,"depth":678,"text":1745},{"id":1792,"depth":678,"text":1793},{"id":1808,"depth":678,"text":1809},{"id":1834,"depth":678,"text":1835},{"id":1864,"depth":678,"text":1865},"md",null,{},true,{"title":389,"description":649},"1U3G1pEZ2yfLiaDmwaC6Uyo-6kL5JjzMAji5txuUNyo",[1901,1902],{"title":385,"path":386,"stem":387,"description":649,"children":-1},{"title":393,"path":394,"stem":395,"description":649,"children":-1},1796500154465]