Fix gitea access lists staying up to date #289
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Apparently gitea access to repositories are either cached or just inherently stateful? Because despite @vegardbm being in the
Ownersteam, he does not exist in the access table, and we're unable to assign him to anything here.Running this against the gitea database on postgres only yields 23 out of the currently 25 users in
DriftOwners, vegard is one of the two missing:Maybe there's a way to regenerate the access table from within the admin panel? Otherwise, I also think we should consider filing it upstream as a bug report
I could not find any such regeneration action on neither https://git.pvv.ntnu.no/-/admin nor https://git.pvv.ntnu.no/-/admin/monitor/cron
Temporary fix:
Apparently there were 700 something missing rows? what
Fix @vegardbm's access to the gitea issuesto Fix gitea access lists staying up to dateWe should fix this permanently somehow... Feels kinda hacky to do this one over and over
Can't seem to find any correlated issue on the gitea issue tracker