1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00
woodpecker/server/forge
Hayden c60c59bd65
fix: apply permissions when flatPermissions enabled (#1603)
Closes #1582 

When `WOODPECKER_FLAT_PERMISSIONS=true` workaround is applied all
permissions are set to false (default) and query never returns any
matches.

This fixes it by always assigning Pull/Push/Admin to true when flatPermissions is enabled.
2023-03-14 03:42:11 +01:00
..
bitbucket Rename forge-id to forge-remote-id (#1418) 2022-11-15 15:01:23 +01:00
bitbucketserver Rename forge-id to forge-remote-id (#1418) 2022-11-15 15:01:23 +01:00
coding Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
common Rename remote to forge (#1357) 2022-11-05 00:35:06 +01:00
gitea Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
github Rename forge-id to forge-remote-id (#1418) 2022-11-15 15:01:23 +01:00
gitlab Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
gogs Rename forge-id to forge-remote-id (#1418) 2022-11-15 15:01:23 +01:00
mocks Rename forge-id to forge-remote-id (#1418) 2022-11-15 15:01:23 +01:00
types Split and refactor (#1394) 2022-11-06 12:44:04 +01:00
configFetcher_test.go Define WOODPECKER_FORGE_TIMEOUT server config (#1558) 2023-02-01 18:53:19 +01:00
configFetcher.go Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
forge.go Rename forge-id to forge-remote-id (#1418) 2022-11-15 15:01:23 +01:00
userSyncer.go fix: apply permissions when flatPermissions enabled (#1603) 2023-03-14 03:42:11 +01:00