TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Enable Pages access control

95 点作者 satireguff超过 5 年前

9 条评论

codegladiator超过 5 年前
Gitlab is amazing in my personal opinion... The autodevops (with connect k8s) has made my life easier by 10x atleast
white-moss超过 5 年前
Awesome. Advantage has been added. GitLab is better than GitHub, I think.
评论 #21299356 未加载
gravypod超过 5 年前
Very excited about hosting code coverage reports (with line by line coverage) for developers.
haywirez超过 5 年前
All that’s missing is the ability to control these settings through the API - same with Letsencrypt certs / auto ssl.
StavrosK超过 5 年前
Can someone explain to me what this does? It seems to me that it restricts Pages to project members, but I've had that feature enabled on private repos for at least a week or two now, which makes me think this is something different, but I can't figure out what.
评论 #21301406 未加载
peterwwillis超过 5 年前
It&#x27;s nice to know other orgs also have these checklists where lots of items aren&#x27;t checked, and you have no idea if they <i>should</i> be checked, or when, why, etc. Does anyone have a good solution to this?
jfowl超过 5 年前
I really like their checklist. It brought many details to my attention that I would have missed when developing such a feature. Does anyone know such a list of checklist (awesome-checklists or so)?
hddqsb超过 5 年前
I love GitLab, and Pages access control is a great feature, but I think this was rolled out very poorly.<p>&lt;rant&gt;<p>The access level is &quot;Only Project Members&quot; by default for private projects, which I consider a breaking change because the steps I previously used to create public Pages (add .gitlab-ci.yml and push) no longer work.<p>The first time I tried to deploy Pages after the access control feature was enabled I wasted a lot of time because of this. When my new webpage redirect to the GitLab sign in page, I didn&#x27;t bother signing in (why should I, when Pages have always been public?). I waited a day, because Pages have taken several hours to provision in the past[1]. Finally I started searching the web for why Pages was redirecting to the sign in page and found out about the access control feature.<p>I support having the access level &quot;Only Project Members&quot; by default, but I think the rollout could have been done much better. My main objections:<p>- There was no indication that the new webpage existed and that the issue was access control -- when I tried visiting the webpage for a non-existent project I got the same redirect. I understand why (to avoid leaking the names of private projects), but the redirected sign in page could have still shown a generic message (&quot;project is missing or private&quot;) and mentioned that Pages are now private by default.<p>- The setting was not in an obvious location for me. I checked &quot;Settings &gt; Pages&quot;, which said the pages are served but did not give any indication that access control was enabled. There should have been a notice here saying that Pages are now private by default and that this can be changed in &quot;Settings &gt; General &gt; Permissions&quot;, at least for the first few months after the rollout.<p>- The API [2] does not support changing the Pages access level yet, so I have to sign in to GitLab and change it manually (or fake the form submission). I want to be able to create a project with public Pages from the terminal, like I could before.<p>These issues could have stemmed from an assumption that developers heavily use the GitLab web interface and are always signed in. For me that is not the case.<p>Some small additional issues:<p>- The option &quot;Pages access control&quot; in Settings &gt; General &gt; Permissions is badly named because it&#x27;s not clear what it means when it&#x27;s toggled off. With the other options (e.g. &quot;Issues&quot;, &quot;Wiki&quot;, &quot;Snippets&quot;) it&#x27;s clear that toggling off the option removes the feature, but toggling off &quot;Pages access control&quot; could either mean &quot;remove the access control feature&quot; (making the pages available to everyone) or &quot;remove the Pages feature&quot; (making the pages available to no one). From my experiments it appears to be the second.<p>- The options have a glitch where toggling an option puts the corresponding access level in an inconsistent state. When the &quot;Page access control&quot; option of a private project is toggled off then on, the access level dropdown shows &quot;Only Project Members&quot; as selected but the value of the hidden &lt;input&gt; element is 30 (Everyone). Submitting the form sets the access level to &quot;Everyone&quot;, as can be seen when the page refreshes. The other options have the same problem.<p>&lt;&#x2F;rant&gt;<p>[1] <a href="https:&#x2F;&#x2F;forum.gitlab.com&#x2F;t&#x2F;gitlab-pages-404-for-even-the-simplest-setup&#x2F;5870&#x2F;58" rel="nofollow">https:&#x2F;&#x2F;forum.gitlab.com&#x2F;t&#x2F;gitlab-pages-404-for-even-the-sim...</a><p>[2] <a href="https:&#x2F;&#x2F;docs.gitlab.com&#x2F;ee&#x2F;api&#x2F;projects.html#edit-project" rel="nofollow">https:&#x2F;&#x2F;docs.gitlab.com&#x2F;ee&#x2F;api&#x2F;projects.html#edit-project</a>
评论 #21304660 未加载
greggh超过 5 年前
Gitlab has enabled China&#x27;s censorship of foreign content and free speech:<p><a href="https:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2019&#x2F;10&#x2F;16&#x2F;gitlab_employees_gagged&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2019&#x2F;10&#x2F;16&#x2F;gitlab_employees_ga...</a>
评论 #21299160 未加载
评论 #21299170 未加载
评论 #21299348 未加载
评论 #21299560 未加载