Commit e6c6972

Project: pygitweb

Field Value
commit e6c69726a3b55e9edd678639b6d19821c8cf34cf
Author Will Bowers <willb0102@gmail.com>
Date 2026-05-17 18:16:51
tree b00b780
parent fb2fe5d
pygitweb: permissions model
* pydantic model normally stored in ~/.pygitweb/auth.json
* key/value permissions mapping permissions onto list of allowed users
* if project-scoped, the last part of the permission key accepts a project name - last to avoid project name/permission name conflicts
* permission username pool is shared between oauth principal emails and local users; this is not a concern if the provider correctly exposes *only* emails but we may want to provide additional security guarantees here.
diff ยท patch