Once you save the whitelisted jobs in the admin panel, the panel’s list overrides Config.WhitelistedJobs. Keep managing jobs from the panel, or use Reset section to go back to the file.
Only the types turned on in Records follow department access. The rest stay visible to every department. For announcements, it lets the author choose which departments see the post.
Citizens, vehicles, properties, and weapons are always shared. They describe people and things in the city, not department work.
Jobs in BypassJobs see and manage every record, whatever its visibility. Use it for chiefs of a joint command, internal affairs, or the court.A bypass job still needs to be whitelisted and have permissions to open the MDT.
Use the CanAccessRecord export on the server to check whether a player can open a record, with department access applied.
server.lua
local allowed = exports['redutzu-mdt']:CanAccessRecord(source, 'incident', 142)
The record type is incident, warrant, bolo, evidence, citizen, vehicle, weapon, or property.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Redutzu Docs","colors":{"primary":"#f91a9f","light":"#f91a9f","dark":"#f91a9f"},"logo":{"light":"https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/logo/light.svg?fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=ddbbce5b2bfa534e67a73a636802b681","dark":"https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/logo/dark.svg?fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=bb923cf837c75d7bd72289f4446b7e22"},"favicon":"https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/icon.ico?fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=3f5d61f44635749854ca81a7a2a43907","appearance":{"default":"system"},"background":{"color":{"light":"#ffffff","dark":"#0c0c0c"}},"navbar":{"links":[{"href":"https://redutzu.com","label":"Store"},{"href":"https://redutzu.com/support","label":"Support"}],"primary":{"type":"discord","label":"Join our Discord","href":"https://discord.gg/kJkNSYM9pt"}},"footer":{"socials":{"website":"https://redutzu.com/","discord":"https://discord.gg/kJkNSYM9pt","youtube":"https://www.youtube.com/@redutzu","github":"https://github.com/redutzu"}},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"redutzusscripts","hasAudioNarration":false,"actualSubdomain":"redutzusscripts","customDomains":["docs.redutzu.com"],"gitSource":{"type":"github","owner":"redutzu","repo":"docs.redutzu.com","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae7e5eb66bac705926b50aa","collectionId":"159fe336-1e25-4fb6-8df4-abd150a5c14e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae7e5eb66bac705926b50aa"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae7e5eb66bac705926b50aa","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Redutzu-MDT","count":19},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"API Reference","count":5},{"language":"default","tag":"Exports","count":2},{"language":"default","tag":"Custom framework","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".export-badge{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:9999px;font-size:.75rem;font-weight:500;line-height:1.5;vertical-align:middle;white-space:nowrap}.export-hook{color:#fb923c;background:rgba(251,146,60,.1)}.export-server,.export-server-event{color:#818cf8;background:rgba(129,140,248,.1)}.export-client,.export-client-event{color:#2dd4bf;background:rgba(45,212,191,.1)}.export-server::after{content:\"Server\"}.export-client::after{content:\"Client\"}.export-server-event::after{content:\"Server event\"}.export-client-event::after{content:\"Client event\"}.export-hook::after{content:\"Hook\"}.pt{margin:1rem 0;border:1px solid rgba(127,127,127,.2);border-radius:12px;overflow-x:auto}.pt table{width:100%;margin:0;border-collapse:collapse;font-size:.875rem}.pt td,.pt th{padding:8px 14px}.pt th{text-align:left;font-weight:500;font-size:.8125rem;opacity:.6;background:rgba(127,127,127,.06);border-bottom:1px solid rgba(127,127,127,.2)}.pt td{vertical-align:top;border-bottom:1px solid rgba(127,127,127,.12)}.data-table tr:last-child td,.pt tr:last-child td{border-bottom:none}.data-table td:first-child,.data-table td:nth-child(2),.pt td:first-child,.pt td:nth-child(2){white-space:nowrap;width:1%}.pt-child td{background:rgba(127,127,127,.03)}.pt-name{display:inline-flex;align-items:center;gap:6px}.data-table code,.pt-name code{font-size:.8125rem}.pt-required{font-size:.6875rem;color:#f87171}.pt-toggle{display:inline-flex;align-items:center;gap:4px;padding:0;background:0 0;border:0;color:inherit;cursor:pointer}.pt-chevron{display:inline-block;width:10px;opacity:.6;transition:transform .15s}.pt-toggle[aria-expanded=true] .pt-chevron{transform:rotate(90deg)}.pt-branch,.pt-guide{position:relative;align-self:stretch;width:14px;flex:none;margin:-8px 0}.pt-branch::before,.pt-guide-line::before{content:\"\";position:absolute;left:6px;top:0;bottom:0;border-left:1px solid rgba(127,127,127,.35)}.pt-branch-last::before{bottom:50%}.pt-branch::after{content:\"\";position:absolute;left:6px;top:50%;width:8px;border-top:1px solid rgba(127,127,127,.35)}.pt-type{display:inline-block;padding:1px 6px;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.75rem}.pt-string{color:#4ade80;background:rgba(74,222,128,.1)}.pt-number{color:#38bdf8;background:rgba(56,189,248,.1)}.pt-boolean{color:#c084fc;background:rgba(192,132,252,.1)}.pt-table{color:#fb7185;background:rgba(251,113,133,.1)}.pt-default{opacity:.7}.pt-link{text-decoration:none;border-bottom:1px dashed currentColor}.pt-link:hover{opacity:.8}.data-table{margin:1rem 0;border:1px solid rgba(127,127,127,.2);border-radius:10px;overflow:hidden}.data-table div{margin:0!important;padding:0!important;border:0!important;overflow:visible!important}.data-table table{width:100%!important;margin:0!important;border-collapse:collapse;font-size:.875rem}.data-table td,.data-table th{padding:10px 14px!important;text-align:left;vertical-align:top;border:0;border-bottom:1px solid rgba(127,127,127,.15)}.data-table td+td,.data-table th+th{border-left:1px solid rgba(127,127,127,.15)}.data-table th{font-weight:600;background:rgba(127,127,127,.08);border-bottom-color:rgba(127,127,127,.2)}"}],"page":{"pagePath":"redutzu-mdt/guides/departments","slug":"/redutzu-mdt/guides/departments","pageMetadata":{"title":"Departments","description":"Run several departments in one MDT, and decide which records each one can see.","icon":"building-2","href":"/redutzu-mdt/guides/departments"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Run several departments in one MDT, and decide which records each one can see.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`One MDT can serve every department on your server: police, sheriff, state troopers, rangers, and more. Each department is a job from your framework.`}),`\n`,_jsx(Heading,{level:`2`,id:`add-a-department`,children:`Add a department`}),`\n`,_jsxs(_components.p,{children:[`A job needs to be `,_jsx(_components.strong,{children:`whitelisted`}),` to open the MDT, and needs `,_jsx(_components.strong,{children:`permissions`}),` so its officers can do something once it’s open.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Admin panel`,id:`admin-panel`,children:[_jsxs(Steps,{children:[_jsx(Step,{title:`Open Access`,children:_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`/mdtadmin`}),` and open `,_jsx(_components.strong,{children:`Access`}),`.`]})}),_jsx(Step,{title:`Add the job`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Whitelisted jobs`}),`, click `,_jsx(_components.strong,{children:`Add job`}),` and pick the job from your framework.`]})}),_jsx(Step,{title:`Copy permissions`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Start its permissions from`}),`, pick an existing job, such as `,_jsx(_components.code,{children:`police`}),`, to copy its permissions. Choose `,_jsx(_components.strong,{children:`Nothing`}),` to set them up yourself later.`]})}),_jsx(Step,{title:`Adjust permissions`,children:_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Permissions`}),`, pick the new job, and fine-tune what each grade can do. See `,_jsx(_components.a,{href:`/redutzu-mdt/guides/permissions`,children:`Permissions`}),`.`]})})]}),_jsx(Frame,{caption:`Adding a whitelisted job in the Access section`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-whitelisted-jobs.webp?fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=bd8234bbe0c5fdafe88b7f6a7fc9dfba`,alt:`Add job dialog under Whitelisted jobs in the admin panel`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1440`,height:`1440`,\"data-path\":`images/guides/departments-whitelisted-jobs.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-whitelisted-jobs.webp?w=280\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=8824870126e93f80b721d48aa6cc19d1 280w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-whitelisted-jobs.webp?w=560\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=afb27d99fc0f0f4e75081b05383248c4 560w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-whitelisted-jobs.webp?w=840\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=b0cad0b062c4363ad6e4ecde27014823 840w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-whitelisted-jobs.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=d1509bc1336cd3af3b0bf759e6d00936 1100w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-whitelisted-jobs.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=22df5dc13db0a4d1c4c0b1a47b19fb05 1650w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-whitelisted-jobs.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=f1fbe34bb0b010c73b6b3ca09e48c79e 2500w`})}),_jsx(_components.p,{children:`Members get access right away. Removing a job takes access away immediately, but keeps its permissions in case you add it back.`})]}),_jsx(Tab,{title:`config.lua`,id:`config-lua`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Whitelist the job`,children:_jsx(CodeBlock,{filename:`config/config.lua`,numberOfLines:`4`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`WhitelistedJobs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'police'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'sheriff'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Step,{title:`Give it permissions`,children:[_jsxs(_components.p,{children:[`Copy the `,_jsx(_components.code,{children:`police`}),` block in `,_jsx(_components.code,{children:`config/permissions.json`}),` and rename it. The grade numbers must match the job’s grades in your framework.`]}),_jsx(CodeBlock,{filename:`config/permissions.json`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"police\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dashboard.view\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"incidents.view\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sheriff\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dashboard.view\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"incidents.view\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsx(Step,{title:`Restart`,children:_jsxs(_components.p,{children:[`Restart `,_jsx(_components.code,{children:`redutzu-mdt`}),`.`]})})]})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Once you save the whitelisted jobs in the admin panel, the panel’s list overrides `,_jsx(_components.code,{children:`Config.WhitelistedJobs`}),`. Keep managing jobs from the panel, or use `,_jsx(_components.strong,{children:`Reset section`}),` to go back to the file.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`department-money`,children:`Department money`}),`\n`,_jsxs(_components.p,{children:[`Fines are paid into the society account of the officer’s department. Add each department to `,_jsx(_components.code,{children:`Config.Society.Accounts`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:`config/config.lua`,numberOfLines:`7`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Society`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` ...`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Accounts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'police'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'police'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'sheriff'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'sheriff'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The key is the job, and the value is its society account in your banking script. You can also set this in `,_jsx(_components.code,{children:`/mdtadmin`}),`, under `,_jsx(_components.strong,{children:`Money`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`share-or-separate-records`,children:`Share or separate records`}),`\n`,_jsxs(_components.p,{children:[`By default, every department sees every record. Turn on `,_jsx(_components.strong,{children:`department access`}),` to decide which departments can open each record.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Admin panel`,id:`admin-panel-2`,children:[_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`/mdtadmin`}),`, open `,_jsx(_components.strong,{children:`Access`}),`, and turn on `,_jsx(_components.strong,{children:`Limit records by department`}),`. Then choose:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Record types it applies to:`}),` which kinds of records follow department access.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Visibility of new records:`}),` what a new record starts with.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Jobs that see every record:`}),` departments that bypass the rules.`]}),`\n`]}),_jsx(Frame,{caption:`Department access settings in the Access section`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-access.webp?fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=67632e40635e504f409985fefa7a25a3`,alt:`Limit records by department turned on in the admin panel, with its options`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1440`,height:`1440`,\"data-path\":`images/guides/departments-record-access.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-access.webp?w=280\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=b923e73ee01ca6db930884d1ae9a3662 280w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-access.webp?w=560\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=d0641179bbc70ad2131452348caebf21 560w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-access.webp?w=840\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=cd3eeda818ca1236f6b0709abce721f2 840w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-access.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=648e1e42bd30ee1defa325261c225c7f 1100w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-access.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=cbe8620f1a1426e97c4ee3827299dcb1 1650w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-access.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=9e907cacf6814f60b652ddc42bd20813 2500w`})})]}),_jsx(Tab,{title:`config.lua`,id:`config-lua-2`,children:_jsx(CodeBlock,{filename:`config/config.lua`,numberOfLines:`15`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`DepartmentAccess`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Enabled`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Records`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` incidents`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` warrants`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` bolos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` evidences`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` announcements`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DefaultVisibility`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'public'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- 'public', 'department' or 'assigned'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` BypassJobs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'doj' `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`visibility`,children:`Visibility`}),`\n`,_jsx(_components.p,{children:`Every record gets one of three visibilities. Officers of the department that created it can change it on the record afterwards.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Visibility`}),_jsx(_components.th,{children:`Who can open the record`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`public`})}),_jsx(_components.td,{children:`Every department.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`department`})}),_jsx(_components.td,{children:`Only the department that created it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assigned`})}),_jsx(_components.td,{children:`The department that created it, plus the ones picked on it.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`assigned`}),` for joint operations. A police incident can be shared with the sheriff while staying hidden from everyone else.`]}),`\n`,_jsx(Frame,{caption:`Choosing a record's visibility`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-visibility.webp?fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=5259c423f4c4e5fd12f8e3eb3cbc9b34`,alt:`Visibility selector on a record, with departments assigned`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1440`,height:`1440`,\"data-path\":`images/guides/departments-record-visibility.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-visibility.webp?w=280\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=4e31a33181980fbcf8a7f2d5ae8c5a12 280w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-visibility.webp?w=560\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=59979aba5579ecc4fe2c680d8a9240a0 560w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-visibility.webp?w=840\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=9ee975d050c36561a06692c83e7c0485 840w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-visibility.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=d190cd6df27858a0d65df88ff70624a3 1100w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-visibility.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=f4b4ccf568e03d972c2e494b834b000a 1650w, https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/images/guides/departments-record-visibility.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=a378aa4c98d4f30a5a7bcc6464afe949 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`record-types`,children:`Record types`}),`\n`,_jsxs(_components.p,{children:[`Only the types turned on in `,_jsx(_components.code,{children:`Records`}),` follow department access. The rest stay visible to every department. For announcements, it lets the author choose which departments see the post.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Citizens, vehicles, properties, and weapons are always shared. They describe people and things in the city, not department work.`})}),`\n`,_jsx(Heading,{level:`3`,id:`jobs-that-see-everything`,children:`Jobs that see everything`}),`\n`,_jsxs(_components.p,{children:[`Jobs in `,_jsx(_components.code,{children:`BypassJobs`}),` see and manage every record, whatever its visibility. Use it for chiefs of a joint command, internal affairs, or the court.`]}),`\n`,_jsx(_components.p,{children:`A bypass job still needs to be whitelisted and have permissions to open the MDT.`}),`\n`,_jsx(Heading,{level:`2`,id:`cross-department-permissions`,children:`Cross-department permissions`}),`\n`,_jsx(_components.p,{children:`Some permissions reach beyond the officer’s own department. Give them only to the ranks that oversee several departments.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Permission`}),_jsx(_components.th,{children:`What it allows`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`management.permissions.all`})}),_jsx(_components.td,{children:`Edit the rank permissions of any department.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`management.analytics.all`})}),_jsx(_components.td,{children:`See the analytics and finances of any department.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`employees.leaderboard.all`})}),_jsx(_components.td,{children:`See leaderboards across every department.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`check-access-in-your-scripts`,children:`Check access in your scripts`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`CanAccessRecord`}),` export on the server to check whether a player can open a record, with department access applied.`]}),`\n`,_jsx(CodeBlock,{filename:`server.lua`,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` allowed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` exports`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'redutzu-mdt'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CanAccessRecord`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`source`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'incident'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`142`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The record type is `,_jsx(_components.code,{children:`incident`}),`, `,_jsx(_components.code,{children:`warrant`}),`, `,_jsx(_components.code,{children:`bolo`}),`, `,_jsx(_components.code,{children:`evidence`}),`, `,_jsx(_components.code,{children:`citizen`}),`, `,_jsx(_components.code,{children:`vehicle`}),`, `,_jsx(_components.code,{children:`weapon`}),`, or `,_jsx(_components.code,{children:`property`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Departments","description":"Run several departments in one MDT, and decide which records each one can see.","icon":"building-2","href":"/redutzu-mdt/guides/departments"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Add a department","slug":"add-a-department","depth":2,"children":[{"title":"Department money","slug":"department-money","depth":3,"children":[]}]},{"title":"Share or separate records","slug":"share-or-separate-records","depth":2,"children":[{"title":"Visibility","slug":"visibility","depth":3,"children":[]},{"title":"Record types","slug":"record-types","depth":3,"children":[]},{"title":"Jobs that see everything","slug":"jobs-that-see-everything","depth":3,"children":[]}]},{"title":"Cross-department permissions","slug":"cross-department-permissions","depth":2,"children":[]},{"title":"Check access in your scripts","slug":"check-access-in-your-scripts","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"redutzusscripts","siteName":"Redutzu Docs","title":"Departments - Redutzu Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T01:22:57.987Z","originalFileLocation":"redutzu-mdt/guides/departments.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run several departments in one MDT, and decide which records each one can see.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Redutzu Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Departments - Redutzu Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run several departments in one MDT, and decide which records each one can see.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Redutzu Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.redutzu.com/redutzu-mdt/guides/departments\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://redutzusscripts.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Departments\u0026amp;description=Run+several+departments+in+one+MDT%2C+and+decide+which+records+each+one+can+see.\u0026amp;theme=7c4a6c7ecaaa71bf79311115\u0026amp;signature=afdc7c57c131143128091d94f43d71a5f148e5394ba851de96035fdc1e276790\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Departments - Redutzu Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run several departments in one MDT, and decide which records each one can see.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://redutzusscripts.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Departments\u0026amp;description=Run+several+departments+in+one+MDT%2C+and+decide+which+records+each+one+can+see.\u0026amp;theme=7c4a6c7ecaaa71bf79311115\u0026amp;signature=afdc7c57c131143128091d94f43d71a5f148e5394ba851de96035fdc1e276790\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/redutzusscripts/SKMW-9A5EQwn6y2V/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Redutzu Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#f91a9f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.redutzu.com/redutzu-mdt/guides/departments\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/redutzu-mdt/guides/departments.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.redutzu.com/#organization\",\"name\":\"Redutzu Docs\",\"url\":\"https://docs.redutzu.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/redutzusscripts/jYySSRvwCjpWaAJk/logo/light.svg?fit=max\u0026auto=format\u0026n=jYySSRvwCjpWaAJk\u0026q=85\u0026s=ddbbce5b2bfa534e67a73a636802b681\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.redutzu.com#website\",\"name\":\"Redutzu Docs\",\"url\":\"https://docs.redutzu.com\",\"publisher\":{\"@id\":\"https://docs.redutzu.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments#webpage\",\"url\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments\",\"name\":\"Departments\",\"description\":\"Run several departments in one MDT, and decide which records each one can see.\",\"dateModified\":\"2026-11-02T01:22:57.987Z\",\"isPartOf\":{\"@id\":\"https://docs.redutzu.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Redutzu-MDT\",\"item\":\"https://docs.redutzu.com/redutzu-mdt/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guides\",\"item\":\"https://docs.redutzu.com/redutzu-mdt/guides/permissions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Departments\",\"item\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments#article\",\"headline\":\"Departments\",\"name\":\"Departments\",\"description\":\"Run several departments in one MDT, and decide which records each one can see.\",\"url\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments\",\"mainEntityOfPage\":{\"@id\":\"https://docs.redutzu.com/redutzu-mdt/guides/departments#webpage\"},\"dateModified\":\"2026-11-02T01:22:57.987Z\",\"publisher\":{\"@id\":\"https://docs.redutzu.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.redutzu.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Redutzu Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Redutzu Docs","nav":{"global":null,"pages":[{"title":"Introduction","icon":"sparkles","href":"/index"},{"group":"Redutzu-MDT","pages":[{"title":"Redutzu-MDT","sidebarTitle":"Overview","icon":"monitor-smartphone","href":"/redutzu-mdt/index"},{"title":"Installation","icon":"download","href":"/redutzu-mdt/installation"},{"title":"Configuration","icon":"settings","href":"/redutzu-mdt/configuration"},{"group":"Guides","icon":"map","pages":[{"title":"Permissions","description":"Control what each job and rank can do in the MDT.","icon":"shield-check","href":"/redutzu-mdt/guides/permissions"},{"title":"Departments","icon":"building-2","href":"/redutzu-mdt/guides/departments"},{"title":"Media uploads","description":"Choose where the MDT stores images and recordings, and set up each provider.","icon":"cloud-upload","href":"/redutzu-mdt/guides/media-uploads"},{"title":"Logs","icon":"scroll-text","href":"/redutzu-mdt/guides/logs"},{"title":"Localization","icon":"languages","href":"/redutzu-mdt/guides/localization"},{"title":"Pages","icon":"panels-top-left","href":"/redutzu-mdt/guides/custom-pages"},{"title":"Citizens and vehicles","icon":"id-card","href":"/redutzu-mdt/guides/citizen-registration"},{"title":"CCTV cameras","icon":"cctv","href":"/redutzu-mdt/guides/cctv-cameras"},{"group":"Custom framework","icon":"plug","pages":[{"title":"Client","icon":"monitor","href":"/redutzu-mdt/guides/custom-framework/client"},{"title":"Server","icon":"server","href":"/redutzu-mdt/guides/custom-framework/server"}]}]},{"group":"API Reference","icon":"book-open","pages":[{"group":"Exports","icon":"code","pages":[{"title":"Client exports","sidebarTitle":"Client","icon":"monitor","href":"/redutzu-mdt/api-reference/exports/client"},{"title":"Server exports","sidebarTitle":"Server","icon":"server","href":"/redutzu-mdt/api-reference/exports/server"}]},{"title":"Events","icon":"radio","href":"/redutzu-mdt/api-reference/events"},{"title":"Hooks","icon":"webhook","href":"/redutzu-mdt/api-reference/hooks"},{"title":"Statebags","icon":"database","href":"/redutzu-mdt/api-reference/statebags"}]},{"title":"Changelog","icon":"history","href":"/redutzu-mdt/changelog"}]}]},"basePath":"","title":"Departments - Redutzu Docs","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-PS-3COT9.js","DynamicMarkdown-BcnBltEQ.js","zoom-image-lightbox-B4-wUcHm.js","lightbox-handle-r17bVUz3.js"]}