Files
OpenSign/assets/js/0a7196e9.8462aa74.js
T

1 line
4.0 KiB
JavaScript

"use strict";(globalThis.webpackChunkOpenSign_Docs=globalThis.webpackChunkOpenSign_Docs||[]).push([[225],{40181(e,n,s){s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>a,frontMatter:()=>o,metadata:()=>t,toc:()=>c});const t=JSON.parse('{"id":"help/FAQs/User Deletion","title":"User Deletion","description":"\u2753 Who can delete users?","source":"@site/docs/help/FAQs/User Deletion.md","sourceDirName":"help/FAQs","slug":"/help/FAQs/User Deletion","permalink":"/docs/help/FAQs/User Deletion","draft":false,"unlisted":false,"editUrl":"https://github.com/opensignlabs/opensign/tree/feat-docs/docs/docs/help/FAQs/User Deletion.md","tags":[],"version":"current","frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"Max File Upload Size","permalink":"/docs/help/FAQs/Max File Upload Size"}}');var i=s(74848),r=s(28453);const o={},l=void 0,d={},c=[{value:"\u2753 Who can delete users?",id:"-who-can-delete-users",level:3},{value:"\u2753 What are the conditions for deleting a user?",id:"-what-are-the-conditions-for-deleting-a-user",level:3},{value:"\u2753 What happens if a deletion condition is not met?",id:"-what-happens-if-a-deletion-condition-is-not-met",level:3}];function h(e){const n={h3:"h3",hr:"hr",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h3,{id:"-who-can-delete-users",children:"\u2753 Who can delete users?"}),"\n",(0,i.jsxs)(n.p,{children:["Only users with the role of ",(0,i.jsx)(n.strong,{children:"Admin"})," or ",(0,i.jsx)(n.strong,{children:"Org Admin"})," can delete users, with some restrictions outlined below."]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"-what-are-the-conditions-for-deleting-a-user",children:"\u2753 What are the conditions for deleting a user?"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:"Admin Deletion Rules"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["An ",(0,i.jsx)(n.strong,{children:"Admin"})," can delete ",(0,i.jsx)(n.strong,{children:"any user"})," in the system."]}),"\n",(0,i.jsxs)(n.li,{children:["An Admin ",(0,i.jsx)(n.strong,{children:"can delete their account from user profile"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Before deleting an Admin, ensure ",(0,i.jsx)(n.strong,{children:"no users are assigned under them"}),"."]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:"Org Admin Deletion Rules"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["An ",(0,i.jsx)(n.strong,{children:"Org Admin"})," can delete ",(0,i.jsx)(n.strong,{children:"any user"})," within their ",(0,i.jsx)(n.strong,{children:"own organization"}),", ",(0,i.jsx)(n.strong,{children:"except Admins"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Org Admins ",(0,i.jsx)(n.strong,{children:"cannot delete themselves Only Admin can delete them"}),"."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"-what-happens-if-a-deletion-condition-is-not-met",children:"\u2753 What happens if a deletion condition is not met?"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["The deletion will be ",(0,i.jsx)(n.strong,{children:"blocked"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["A ",(0,i.jsx)(n.strong,{children:"validation error message"}),' will be shown, explaining the reason (e.g., "Admin has assigned users" or "Cannot delete own account").']}),"\n"]}),"\n",(0,i.jsx)(n.hr,{})]})}function a(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},28453(e,n,s){s.d(n,{R:()=>o,x:()=>l});var t=s(96540);const i={},r=t.createContext(i);function o(e){const n=t.useContext(r);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]);