woodpecker/server
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
..
api fix: return 404 on badge request for inactive repo (#1600) 2023-03-04 11:36:13 +01:00
badges Rename build to pipeline in code (#1224) 2022-10-18 03:24:12 +02:00
cache Rename remote to forge (#1357) 2022-11-05 00:35:06 +01:00
ccmenu Rename build to pipeline in code (#1224) 2022-10-18 03:24:12 +02:00
cron Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
forge fix: apply permissions when flatPermissions enabled (#1603) 2023-03-14 03:42:11 +01:00
grpc Add agent no-schedule flag (#1567) 2023-01-30 20:18:48 +01:00
logging Spelling (#1405) 2022-11-09 08:12:17 +01:00
model Persist DepStatus of tasks (#1610) 2023-03-11 01:58:28 +01:00
pipeline Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
plugins Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
pubsub Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
queue Persist DepStatus of tasks (#1610) 2023-03-11 01:58:28 +01:00
router Store an agents list and add agent heartbeats (#1189) 2023-01-28 14:13:04 +01:00
store Persist DepStatus of tasks (#1610) 2023-03-11 01:58:28 +01:00
swagger Spelling (#1405) 2022-11-09 08:12:17 +01:00
web Rename remote to forge (#1357) 2022-11-05 00:35:06 +01:00
config.go Define WOODPECKER_FORGE_TIMEOUT server config (#1558) 2023-02-01 18:53:19 +01:00