[{"data":1,"prerenderedAt":290},["ShallowReactive",2],{"navigation-en":3,"/en/operation/accounts-and-roles-en":46,"/en/operation/accounts-and-roles-en-surround":285},[4,8,12,38,42],{"title":5,"path":6,"stem":7},"Overview","/en","en/0.index",{"title":9,"path":10,"stem":11},"Quick start","/en/getting-started/self-hosting","en/1.getting-started/1.self-hosting",{"title":13,"path":14,"stem":15,"children":16},"Operation","/en/operation","en/2.operation/0.index",[17,18,22,26,30,34],{"title":13,"path":14,"stem":15},{"title":19,"path":20,"stem":21},"Installation","/en/operation/installation","en/2.operation/1.installation",{"title":23,"path":24,"stem":25},"Email delivery","/en/operation/mail","en/2.operation/2.mail",{"title":27,"path":28,"stem":29},"Documents","/en/operation/documents","en/2.operation/3.documents",{"title":31,"path":32,"stem":33},"Accounts and roles","/en/operation/accounts-and-roles","en/2.operation/4.accounts-and-roles",{"title":35,"path":36,"stem":37},"Separate hosts","/en/operation/separate-hosts","en/2.operation/5.separate-hosts",{"title":39,"path":40,"stem":41},"Sign-in","/en/sign-in","en/3.sign-in",{"title":43,"path":44,"stem":45},"Backend API v1","/en/api","en/4.api",{"id":47,"title":31,"body":48,"description":279,"extension":280,"links":281,"meta":282,"navigation":281,"path":32,"seo":283,"stem":33,"__hash__":284},"en/en/2.operation/4.accounts-and-roles.md",{"type":49,"value":50,"toc":270},"minimark",[51,56,70,77,81,88,92,95,99,106,142,149,172,176,179,197,200,204,266],[52,53,55],"h2",{"id":54},"staff-accounts","Staff accounts",[57,58,59,60,64,65,69],"p",{},"Staff accounts and the casework role (",[61,62,63],"code",{},"case_worker",", Sachbearbeitung) are created and assigned in the Drupal administration. Sign-in uses a ",[66,67,68],"a",{"href":40},"one-time code by email",".",[57,71,72,73,76],{},"For an unknown address, sign-in with an email code creates an account without a staff role (setting ",[61,74,75],{},"auto_register",", enabled as shipped). An account created through SSO does not receive a staff role either. An existing staff account is not linked to an SSO identity automatically by its email address.",[52,78,80],{"id":79},"municipality-and-departments","Municipality and departments",[57,82,83,84,87],{},"An installation contains one or more municipalities. Each municipality is divided into departments (Dienststellen). Forms and applications belong to a department or to the municipality. Accounts gain access through a membership in the municipality or in a department. A membership is either a regular membership or an admin membership. Memberships are created in the Drupal group administration at ",[61,85,86],{},"/admin/group",", through an invitation or, for the Fachadministration, with the Drush command below.",[52,89,91],{"id":90},"casework","Casework",[57,93,94],{},"An account with the casework role and a regular membership in a department opens and edits the applications of that department. This covers status, deadlines, assignment and decision notices. An admin membership is not required for this. A membership in the municipality alone opens no applications. Applications assigned directly to the municipality rather than to a department are opened by the Fachadministration of the municipality.",[52,96,98],{"id":97},"fachadministration","Fachadministration",[57,100,101,102,105],{},"The Fachadministration manages forms, decision templates and the settings of its area. It consists of the role ",[61,103,104],{},"department_admin"," and an admin membership.",[107,108,109,122],"table",{},[110,111,112],"thead",{},[113,114,115,119],"tr",{},[116,117,118],"th",{},"Admin membership",[116,120,121],{},"Area",[123,124,125,134],"tbody",{},[113,126,127,131],{},[128,129,130],"td",{},"Municipality",[128,132,133],{},"the municipality and all its departments, including municipality-wide forms",[113,135,136,139],{},[128,137,138],{},"Department",[128,140,141],{},"this department only",[57,143,144,145,148],{},"Departments can thus be administered decentrally: the Fachadministration of a department maintains the forms of that department. The Drush command ",[61,146,147],{},"beantragt:fachadmin:grant"," grants this access to an existing account. Without a department, it applies to the whole municipality.",[150,151,156],"pre",{"className":152,"code":153,"language":154,"meta":155,"style":155},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","docker compose exec drupal sh /opt/selfhost/start-drupal.sh \\\n  drush beantragt:fachadmin:grant person@example.org musterstadt citizen-services\n","sh","",[61,157,158,166],{"__ignoreMap":155},[159,160,163],"span",{"class":161,"line":162},"line",1,[159,164,165],{},"docker compose exec drupal sh /opt/selfhost/start-drupal.sh \\\n",[159,167,169],{"class":161,"line":168},2,[159,170,171],{},"  drush beantragt:fachadmin:grant person@example.org musterstadt citizen-services\n",[52,173,175],{"id":174},"invitations","Invitations",[57,177,178],{},"An invitation creates no account and grants no installation-wide role. It makes an existing account a member of the municipality or of a department once the account is signed in with the invited address and accepts the invitation. As shipped, an invitation grants a regular membership, not an admin membership.",[57,180,181,182,185,186,189,190,193,194,69],{},"Invitations are sent by an account with the additional role ",[61,183,184],{},"workspace_inviter",", whose scope is limited to one municipality in the account. In the example municipality, ",[61,187,188],{},"verwaltung@example.invalid"," has this role for Musterstadt. In the interface, the invitation form is located in the settings of the municipality or the department. Links in invitation emails require a valid ",[61,191,192],{},"frontend_base_url",", which the installer takes from ",[61,195,196],{},"UI_PUBLIC_URL",[57,198,199],{},"A staff management interface is part of the Pro-Dashboard. The open casework contains no member management.",[52,201,203],{"id":202},"sample-accounts-in-musterstadt","Sample accounts in Musterstadt",[107,205,206,219],{},[110,207,208],{},[113,209,210,213,216],{},[116,211,212],{},"Account",[116,214,215],{},"Role",[116,217,218],{},"Membership",[123,220,221,234,253],{},[113,222,223,227,231],{},[128,224,225],{},[61,226,188],{},[128,228,229],{},[61,230,104],{},[128,232,233],{},"Admin of the municipality of Musterstadt",[113,235,236,246,250],{},[128,237,238,241,242,245],{},[61,239,240],{},"stadtkasse@example.invalid",", ",[61,243,244],{},"citizen-services@example.invalid"," and the other department accounts",[128,247,248],{},[61,249,63],{},[128,251,252],{},"Regular membership in the respective department",[113,254,255,260,263],{},[128,256,257],{},[61,258,259],{},"buerger@example.invalid",[128,261,262],{},"No staff role",[128,264,265],{},"None",[267,268,269],"style",{},"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":155,"searchDepth":271,"depth":168,"links":272},3,[273,274,275,276,277,278],{"id":54,"depth":168,"text":55},{"id":79,"depth":168,"text":80},{"id":90,"depth":168,"text":91},{"id":97,"depth":168,"text":98},{"id":174,"depth":168,"text":175},{"id":202,"depth":168,"text":203},"How staff accounts get access: membership in a municipality or department, roles for casework and form administration (Fachadministration), invitations.","md",null,{},{"title":31,"description":279},"gXa4z6-lyCk93OVZu4-og9krOuff9qfLrIL3K9LxPPc",[286,288],{"title":27,"path":28,"stem":29,"description":287,"children":-1},"Docgen document service for decision notices from Word templates, PDF/A conversion, access and capacity.",{"title":35,"path":36,"stem":37,"description":289,"children":-1},"The citizen portal stays public, the casework app stays on the internal network, both from the same UI image. Covers services, network and sign-in.",1795601412415]