updated forgejo, added tokens, renamed
This commit is contained in:
parent
ef4565de4a
commit
6339ede4d8
3 changed files with 50 additions and 13 deletions
18
_share/data/forgejo/tokens.org
Normal file
18
_share/data/forgejo/tokens.org
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
#+title: Forgejo Token Information
|
||||||
|
|
||||||
|
|
||||||
|
* Token Details
|
||||||
|
|
||||||
|
** api-debug
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: token-api-debug
|
||||||
|
:END:
|
||||||
|
|
||||||
|
| Property | Value |
|
||||||
|
|--------------+-------------------------------------------------------------------|
|
||||||
|
| Token Owner | ronnygit |
|
||||||
|
| Token Name | api-debug |
|
||||||
|
| Token Value | edea73cc91dbae359d89eb0e644ef2c97f3aedf0 |
|
||||||
|
| Scopes | repository, organization, user, issue |
|
||||||
|
| Created At | Apr 17, 2025 |
|
||||||
|
| Purpose | Used to verify access to django-repositories/project.git |
|
||||||
|
|
@ -6,11 +6,9 @@
|
||||||
* links
|
* links
|
||||||
- [[./toc.org][TOC - Home System]]
|
- [[./toc.org][TOC - Home System]]
|
||||||
|
|
||||||
* Hardware
|
|
||||||
|
|
||||||
* Forgejo on Raspberry Pi
|
* Forgejo Basic Info
|
||||||
|
|
||||||
** Configuration Summary
|
|
||||||
*** Instance Details
|
*** Instance Details
|
||||||
| Property | Value |
|
| Property | Value |
|
||||||
|----------------------+----------------------------------|
|
|----------------------+----------------------------------|
|
||||||
|
|
@ -26,6 +24,32 @@
|
||||||
| Admin | git-admin | 2reishit2ara | ronny.abraham@ymail.com |
|
| Admin | git-admin | 2reishit2ara | ronny.abraham@ymail.com |
|
||||||
| Developer | ronnygit | 2reishit2ara | ronny.coder@gmail.com |
|
| Developer | ronnygit | 2reishit2ara | ronny.coder@gmail.com |
|
||||||
|
|
||||||
|
*** token access
|
||||||
|
#+INCLUDE: "./_share/data/forgejo/tokens.org::#token-api-debug" :only-contents t
|
||||||
|
|
||||||
|
* Forgejo Organizations Overview
|
||||||
|
|
||||||
|
This section documents the Forgejo organizations, their repositories, and associated Git origin URLs.
|
||||||
|
|
||||||
|
** organizations
|
||||||
|
|
||||||
|
| Organization | url base |
|
||||||
|
|---------------------+------------------------------------------------------------|
|
||||||
|
| default (none) | |
|
||||||
|
| django-repositories | ssh://git@forgejo.ronnyabraham.com:222/django-repositories |
|
||||||
|
| notes | ssh://git@forgejo.ronnyabraham.com:222/notes |
|
||||||
|
|
||||||
|
** repositories
|
||||||
|
|
||||||
|
|
||||||
|
| Organization | Repository | description |
|
||||||
|
|---------------------+------------------+-------------|
|
||||||
|
| django-repositories | savage-lands.git | |
|
||||||
|
| notes | home-network | |
|
||||||
|
|
||||||
|
|
||||||
|
* Forgejo on Raspberry Pi
|
||||||
|
|
||||||
|
|
||||||
** Data Drive & Volumes
|
** Data Drive & Volumes
|
||||||
|
|
||||||
|
|
@ -142,6 +166,9 @@ git remote add origin ssh://git@forgejo.ronnyabraham.com:222/ronnygit/savage-lan
|
||||||
git push -u origin main
|
git push -u origin main
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* How to Check Repository Access for a User via Token
|
* How to Check Repository Access for a User via Token
|
||||||
|
|
||||||
To verify whether a Forgejo user (e.g. `ronnygit`) has access to a specific repository, you can use a Personal Access Token (PAT) to query the Forgejo API. This helps confirm push/pull permissions and identify missing access rights.
|
To verify whether a Forgejo user (e.g. `ronnygit`) has access to a specific repository, you can use a Personal Access Token (PAT) to query the Forgejo API. This helps confirm push/pull permissions and identify missing access rights.
|
||||||
|
|
@ -184,15 +211,7 @@ HTTP error meanings:
|
||||||
- 401 - token is invalid or expired
|
- 401 - token is invalid or expired
|
||||||
|
|
||||||
** Token Details
|
** Token Details
|
||||||
|
#+INCLUDE: "./_share/data/forgejo/tokens.org::#token-api-debug" :only-contents t
|
||||||
| Property | Value |
|
|
||||||
|--------------+-------------------------------------------------------------------|
|
|
||||||
| Token Owner | ronnygit |
|
|
||||||
| Token Name | api-debug |
|
|
||||||
| Token Value | edea73cc91dbae359d89eb0e644ef2c97f3aedf0 |
|
|
||||||
| Scopes | repository, organization, user, issue |
|
|
||||||
| Created At | Apr 17, 2025 |
|
|
||||||
| Purpose | Used to verify access to django-repositories/project.git |
|
|
||||||
|
|
||||||
** Scope Overview
|
** Scope Overview
|
||||||
|
|
||||||
2
toc.org
2
toc.org
|
|
@ -15,6 +15,6 @@
|
||||||
- [[./nginx.org][nginx]]
|
- [[./nginx.org][nginx]]
|
||||||
|
|
||||||
* applications
|
* applications
|
||||||
- [[./forgeo.org][forgejo]]
|
- [[./forgejo.org][forgejo]]
|
||||||
- [[./n8n-setup.org][n8n setup]]
|
- [[./n8n-setup.org][n8n setup]]
|
||||||
- [[./calibre.org][calibre]]
|
- [[./calibre.org][calibre]]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue