List for cgit developers and users
 help / color / mirror / Atom feed
From: mricon at kernel.org (Konstantin Ryabitsev)
Subject: Authz question
Date: Mon, 02 Jun 2014 18:36:45 -0400	[thread overview]
Message-ID: <538CFC7D.6000606@kernel.org> (raw)
In-Reply-To: <CAHmME9o3msXHBipREdpoU+KLBo1nSjyT9R227PdrAfg4xskDVA@mail.gmail.com>

On 02/06/14 05:34 PM, Jason A. Donenfeld wrote:
>> Before I go look in the code, can someone tell me if the authentication
>> > support in cgit hides the repositories to which the user has no access,
>> > or just prevents accessing the actual content?
> Just the actual content, but not the listing in the global index.

That's what I figured from reading the sample authentication filter.

>> >  is there any mechanism
>> > in place to hide it?
> Not at the moment. If you're going to deploy this feature on
> kernel.org, though, I'd be happy to write support for it. What's your
> use case?

It's not for kernel.org -- we don't have a reason to run read-restricted
AuthZ stuff there. It's for another LF project that wants to be able to
do private repositories with a web frontend. It's not a critical
requirement for them to restrict repo listing, but it's certainly a
nice-to-have.

Best,
-- 
Konstantin Ryabitsev
Senior Systems Administrator
Linux Foundation Collab Projects
Montr?al, Qu?bec

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 713 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140602/654c37a5/attachment.asc>


  reply	other threads:[~2014-06-02 22:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 21:18 mricon
2014-06-02 21:34 ` Jason
2014-06-02 22:36   ` mricon [this message]
2014-06-06 14:35   ` mricon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538CFC7D.6000606@kernel.org \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).