explain why so many permissions are needed

This commit is contained in:
Chris Zhu
2025-04-18 10:37:00 -07:00
parent 138ae1a8e2
commit 05af71ee92
2 changed files with 18 additions and 1 deletions

View File

@@ -8,7 +8,6 @@
- [ ] Streaming logs for pods
- [ ] Project groupings?
- [ ] Constantly refresh the processes page for readiness of pods
- [ ] Metrics improvement: https://stackoverflow.com/questions/68058199/chartjs-need-help-on-drawing-a-vertical-line-when-hovering-cursor
- [ ] Add metrics page for add ons
- [ ] Support GPU backed clusters
- [ ] Make accidental deletions harder

View File

@@ -3,6 +3,24 @@
<%- resource_class.omniauth_providers.each do |provider| %>
<%= button_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(:user, provider), class: "btn btn-#{provider} w-full", data: { turbo: false, disable_with: t(".redirecting") } %>
<% end -%>
<div class="mt-6 text-sm text-gray-300">
<details class="group">
<summary class="flex items-center gap-2 cursor-pointer">
<svg class="w-4 h-4 group-open:rotate-90 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
</svg>
Why are so many permissions required on Github? (I know it sucks)
</summary>
<div class="mt-2 pl-6">
<div class="rounded-lg space-y-4">
<p>Canine uses Github container registry to store containers.</p>
<p>Github only allows <a class="underline" target="_blank" href="https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry">OAuth tokens to be used for uploading to packages</a>.</p>
<p>If you don't want to provide OAuth permissions, you can sign up with an email and password.</p>
</div>
</div>
</details>
</div>
</div>
<% end -%>