mirror of
https://github.com/YunoHost-Apps/forgejo_ynh.git
synced 2024-09-03 18:36:26 +02:00
forgejo (api) permission to allow API usage
This commit is contained in:
parent
42ef99e7a6
commit
0ef64305ef
4 changed files with 10 additions and 4 deletions
|
@ -34,7 +34,7 @@ Brought to you by an inclusive community under the umbrella of Codeberg e.V., a
|
|||
- Customize HTML templates, static files and many others.
|
||||
|
||||
|
||||
**Shipped version:** 1.19.3-0~ynh4
|
||||
**Shipped version:** 1.19.3-0~ynh5
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ Brought to you by an inclusive community under the umbrella of Codeberg e.V., a
|
|||
- Customize HTML templates, static files and many others.
|
||||
|
||||
|
||||
**Version incluse :** 1.19.3-0~ynh4
|
||||
**Version incluse :** 1.19.3-0~ynh5
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
In order to allow access to Forgejo admin section, YunoHost users are automaticaly synchronized with Forgejo's.
|
||||
You can use «Forgejo (admin)» permission to manage which user is considered as forgejo admin.
|
||||
|
||||
The «forgejo (api)» permission must be set to «Visitors» group to allow user synchronization via an API call.
|
||||
|
||||
**Known issue** : when a user is added to a group (e.g. the one with «Forgejo (admin)» permission), the synchronization is not triggered by YunoHost. You have to update a user (without any modification) to trigger it. (https://github.com/YunoHost/issues/issues/2213)
|
||||
|
||||
### Notes on SSH usage
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Forgejo"
|
|||
description.en = "Lightweight software forge"
|
||||
description.fr = "Forge logiciel légère"
|
||||
|
||||
version = "1.19.3-0~ynh4"
|
||||
version = "1.19.3-0~ynh5"
|
||||
|
||||
maintainers = ["Emmanuel Averty"]
|
||||
|
||||
|
@ -71,11 +71,15 @@ ram.runtime = "2G"
|
|||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
||||
admin.allowed = "admins"
|
||||
admin.show_tile = false
|
||||
admin.auth_header = false
|
||||
admin.protected = true
|
||||
|
||||
api.url = "/api"
|
||||
api.show_tile = false
|
||||
api.allowed = "visitors"
|
||||
api.auth_header = false
|
||||
|
||||
[resources.apt]
|
||||
packages = "postgresql"
|
||||
|
||||
|
|
Loading…
Reference in a new issue