import{s as X,o as Y,n as Z}from"../chunks/scheduler.d6170356.js";import{S as ee,i as te,g as u,s as o,r as O,A as se,h as p,f as s,c as l,j as N,u as R,x as C,k as G,l as ie,y as ne,a as i,v as j,d as A,t as q,w as F,m as Q,n as W}from"../chunks/index.fcd4cc08.js";import{T as re}from"../chunks/Tip.b09c67cf.js";import{H as ae,E as oe}from"../chunks/index.57043804.js";function le(T){let r,a,f="Enterprise Hub",m;return{c(){r=Q("This feature is part of the "),a=u("a"),a.textContent=f,m=Q("."),this.h()},l(n){r=W(n,"This feature is part of the "),a=p(n,"A",{href:!0,"data-svelte-h":!0}),C(a)!=="svelte-vg0acv"&&(a.textContent=f),m=W(n,"."),this.h()},h(){G(a,"href","https://huggingface.co/enterprise")},m(n,g){i(n,r,g),i(n,a,g),i(n,m,g)},p:Z,d(n){n&&(s(r),s(a),s(m))}}}function ue(T){let r,a,f,m,n,g,h,H,d,U="Resource Groups allow organizations to enforce fine-grained access control to their repositories.",y,c,D='<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"/>',S,$,I="This feature allows organization administrators to:",P,v,K="<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,_,V="This Enterprise Hub feature helps organizations manage complex team structures and maintain proper access control over their repositories.",E,x,B='<a href="./security-resource-groups">Getting started with Resource Groups →</a>',z,b,L,w,M;return n=new ae({props:{title:"Resource groups",local:"resource-groups",headingTag:"h1"}}),h=new re({props:{warning:!0,$$slots:{default:[le]},$$scope:{ctx:T}}}),b=new oe({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/enterprise-hub-resource-groups.md"}}),{c(){r=u("meta"),a=o(),f=u("p"),m=o(),O(n.$$.fragment),g=o(),O(h.$$.fragment),H=o(),d=u("p"),d.textContent=U,y=o(),c=u("div"),c.innerHTML=D,S=o(),$=u("p"),$.textContent=I,P=o(),v=u("ul"),v.innerHTML=K,k=o(),_=u("p"),_.textContent=V,E=o(),x=u("p"),x.innerHTML=B,z=o(),O(b.$$.fragment),L=o(),w=u("p"),this.h()},l(e){const t=se("svelte-u9bgzb",document.head);r=p(t,"META",{name:!0,content:!0}),t.forEach(s),a=l(e),f=p(e,"P",{}),N(f).forEach(s),m=l(e),R(n.$$.fragment,e),g=l(e),R(h.$$.fragment,e),H=l(e),d=p(e,"P",{"data-svelte-h":!0}),C(d)!=="svelte-1f04kjh"&&(d.textContent=U),y=l(e),c=p(e,"DIV",{class:!0,style:!0,"data-svelte-h":!0}),C(c)!=="svelte-1qnuvlu"&&(c.innerHTML=D),S=l(e),$=p(e,"P",{"data-svelte-h":!0}),C($)!=="svelte-1ecjchi"&&($.textContent=I),P=l(e),v=p(e,"UL",{"data-svelte-h":!0}),C(v)!=="svelte-1qhp4ud"&&(v.innerHTML=K),k=l(e),_=p(e,"P",{"data-svelte-h":!0}),C(_)!=="svelte-1dzxycb"&&(_.textContent=V),E=l(e),x=p(e,"P",{"data-svelte-h":!0}),C(x)!=="svelte-1skr69n"&&(x.innerHTML=B),z=l(e),R(b.$$.fragment,e),L=l(e),w=p(e,"P",{}),N(w).forEach(s),this.h()},h(){G(r,"name","hf:doc:metadata"),G(r,"content",pe),G(c,"class","flex justify-center"),ie(c,"max-width","550px")},m(e,t){ne(document.head,r),i(e,a,t),i(e,f,t),i(e,m,t),j(n,e,t),i(e,g,t),j(h,e,t),i(e,H,t),i(e,d,t),i(e,y,t),i(e,c,t),i(e,S,t),i(e,$,t),i(e,P,t),i(e,v,t),i(e,k,t),i(e,_,t),i(e,E,t),i(e,x,t),i(e,z,t),j(b,e,t),i(e,L,t),i(e,w,t),M=!0},p(e,[t]){const J={};t&2&&(J.$$scope={dirty:t,ctx:e}),h.$set(J)},i(e){M||(A(n.$$.fragment,e),A(h.$$.fragment,e),A(b.$$.fragment,e),M=!0)},o(e){q(n.$$.fragment,e),q(h.$$.fragment,e),q(b.$$.fragment,e),M=!1},d(e){e&&(s(a),s(f),s(m),s(g),s(H),s(d),s(y),s(c),s(S),s($),s(P),s(v),s(k),s(_),s(E),s(x),s(z),s(L),s(w)),s(r),F(n,e),F(h,e),F(b,e)}}}const pe='{"title":"Resource groups","local":"resource-groups","sections":[],"depth":1}';function me(T){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class de extends ee{constructor(r){super(),te(this,r,me,ue,X,{})}}export{de as component};
