How to configure Mercurial Security .. specifically for users

I have a mercury customization following these instructions .

I am trying to figure out where or which file to configure users. Everything I read seems rather mysterious ... it gives all these code snippets that talk about it, but it does not seem to take into account the steps how all this is connected and which file to put the code snippets in ... can someone please de-mystify all this for ID10T @TheKeyboard?

+3
source share
2 answers

Keep in mind that the base Mercurial model cannot actually check anyone. The only thing she can do is to prevent these users from uploading something to your copy of the repository.

IIS can configure authentication so that Mercurial knows which user is downloading, and therefore only some users are even allowed to try to download. If all you care about is restricting who has access to your repository, you can stop right here. But if you want something more granular, I think you're out of luck right now.

But if he ever finishes working with web server authentication, you will need to use the extension

+1
source

Source: https://habr.com/ru/post/1762203/


All Articles