woodpecker
woodpecker copied to clipboard
Fix repo permissions and only sync on demand
Instead of pull all permission data of all repos for a user periodicaly, only check and update if needed.
(User request info for a repo ... and permission check is out of sync)
ttl of permission data should be settable too
TODOs:
- [ ] revert #625
- [ ] clarify permission model (currently 3 props
pull
,push
,admin
) and public repos currently getpull
as fallback instead we should make clear a user has explicit pull request (member of the project) or is just able to see data but is not a member (this would fix some cases where users see repos not owned in their UI) - [ ] ...
will frontport https://github.com/woodpecker-ci/woodpecker/pull/491 ... since milestone changed :/
related https://codeberg.org/Codeberg-CI/feedback/issues/66