Re:Show HN: NotesHub: cross-platform, Markdown-based note-ta...
by kseistrup on Friday October 11, 2024 @10:37AM
(#41809854)
The FAQ has the following instructions for more fine-grained access control:
> To accomplish this scenario select generic Git notebook provider (instead of GitHub) and for the password field put fine-grained personal access token which can be generated to have access only to certain repositories.
Re:Show HN: NotesHub: cross-platform, Markdown-based note-ta...
by amimetic on Friday October 11, 2024 @12:34PM
(#41810961)
I tried this and doesn't seem to work; though unclear what permissions I should be granting it, so possibly that is the issue.
Re:Show HN: NotesHub: cross-platform, Markdown-based note-ta...
by alex-titarenko on Friday October 11, 2024 @04:45PM
(#41813545)
You need only "Contents" Read and write permissions. Make sure when you generate fine-grained personal access tokens on the following page: https://github.com/settings/personal-access-tokens/new you select your desired repo (because it defaults to public repos and that will not work).
Re:Show HN: NotesHub: cross-platform, Markdown-based note-ta...
by alex-titarenko on Friday October 11, 2024 @04:48PM
(#41813578)
Unfortunately, GitHub does not provide that granularity for developers. That is way you have an alternative option as general Git provider where you can use fine-grained access token.
Although I didnt quite like that it asked for a permission to pretty much _everything_ in Githuhb - public and private repos, deploykeys?!, everything. I wish that were customisable. It was okay for me because I dont keep any non public code in Github, but others might have..