import{s as X,n as Y,o as Z}from"../chunks/scheduler.9cda857a.js";import{S as ee,i as te,e as a,s as n,c as G,h as se,a as l,d as s,b as r,f as W,g as R,j as $,k as q,q as ie,l as ne,m as i,n as j,t as U,o as A,p as F}from"../chunks/index.003612b0.js";import{C as re}from"../chunks/CopyLLMTxtMenu.44d08a39.js";import{H as ae,E as le}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e5cfda8c.js";function oe(K){let o,C,b,y,m,T,c,w,p,B='<p>This feature is part of the <a href="https://huggingface.co/enterprise">Team &amp; Enterprise</a> plans.</p>',H,f,D="Resource Groups allow organizations to enforce fine-grained access control to their repositories.",L,u,I='<img class="block dark:hidden m-0!" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/resource-groups.png" alt="screenshot of Hugging Face Single Sign-On (SSO) feature"/> <img class="hidden dark:block m-0!" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/dark-resource-groups.png" alt="screenshot of Hugging Face Single Sign-On (SSO) feature"/>',M,g,Q="This feature allows organization administrators to:",S,h,V="<li>Group related repositories together for better organization</li> <li>Control member access at a group level rather than individual repository level</li> <li>Assign different permission roles (read, contributor, write, admin) to team members</li> <li>Keep private repositories visible only to authorized group members</li> <li>Enable multiple teams to work independently within the same organization</li>",k,d,J="This Enterprise Hub feature helps organizations manage complex team structures and maintain proper access control over their repositories.",E,v,N='<a href="./security-resource-groups">Getting started with Resource Groups →</a>',P,x,z,_,O;return m=new re({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),c=new ae({props:{title:"Resource groups",local:"resource-groups",headingTag:"h1"}}),x=new le({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/enterprise-hub-resource-groups.md"}}),{c(){o=a("meta"),C=n(),b=a("p"),y=n(),G(m.$$.fragment),T=n(),G(c.$$.fragment),w=n(),p=a("blockquote"),p.innerHTML=B,H=n(),f=a("p"),f.textContent=D,L=n(),u=a("div"),u.innerHTML=I,M=n(),g=a("p"),g.textContent=Q,S=n(),h=a("ul"),h.innerHTML=V,k=n(),d=a("p"),d.textContent=J,E=n(),v=a("p"),v.innerHTML=N,P=n(),G(x.$$.fragment),z=n(),_=a("p"),this.h()},l(e){const t=se("svelte-u9bgzb",document.head);o=l(t,"META",{name:!0,content:!0}),t.forEach(s),C=r(e),b=l(e,"P",{}),W(b).forEach(s),y=r(e),R(m.$$.fragment,e),T=r(e),R(c.$$.fragment,e),w=r(e),p=l(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),$(p)!=="svelte-16y0s3r"&&(p.innerHTML=B),H=r(e),f=l(e,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1f04kjh"&&(f.textContent=D),L=r(e),u=l(e,"DIV",{class:!0,style:!0,"data-svelte-h":!0}),$(u)!=="svelte-1qnuvlu"&&(u.innerHTML=I),M=r(e),g=l(e,"P",{"data-svelte-h":!0}),$(g)!=="svelte-1ecjchi"&&(g.textContent=Q),S=r(e),h=l(e,"UL",{"data-svelte-h":!0}),$(h)!=="svelte-1qhp4ud"&&(h.innerHTML=V),k=r(e),d=l(e,"P",{"data-svelte-h":!0}),$(d)!=="svelte-1dzxycb"&&(d.textContent=J),E=r(e),v=l(e,"P",{"data-svelte-h":!0}),$(v)!=="svelte-1skr69n"&&(v.innerHTML=N),P=r(e),R(x.$$.fragment,e),z=r(e),_=l(e,"P",{}),W(_).forEach(s),this.h()},h(){q(o,"name","hf:doc:metadata"),q(o,"content",ue),q(p,"class","warning"),q(u,"class","flex justify-center"),ie(u,"max-width","550px")},m(e,t){ne(document.head,o),i(e,C,t),i(e,b,t),i(e,y,t),j(m,e,t),i(e,T,t),j(c,e,t),i(e,w,t),i(e,p,t),i(e,H,t),i(e,f,t),i(e,L,t),i(e,u,t),i(e,M,t),i(e,g,t),i(e,S,t),i(e,h,t),i(e,k,t),i(e,d,t),i(e,E,t),i(e,v,t),i(e,P,t),j(x,e,t),i(e,z,t),i(e,_,t),O=!0},p:Y,i(e){O||(U(m.$$.fragment,e),U(c.$$.fragment,e),U(x.$$.fragment,e),O=!0)},o(e){A(m.$$.fragment,e),A(c.$$.fragment,e),A(x.$$.fragment,e),O=!1},d(e){e&&(s(C),s(b),s(y),s(T),s(w),s(p),s(H),s(f),s(L),s(u),s(M),s(g),s(S),s(h),s(k),s(d),s(E),s(v),s(P),s(z),s(_)),s(o),F(m,e),F(c,e),F(x,e)}}}const ue='{"title":"Resource groups","local":"resource-groups","sections":[],"depth":1}';function pe(K){return Z(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class he extends ee{constructor(o){super(),te(this,o,pe,oe,X,{})}}export{he as component};
