Skip to content

Commit 12b679f

Browse files
chore: removes never implemented readDrafts access arg on globals (#15297)
Removes `readDrafts` access property from globals as it has never been implemented or documented. It never actually did anything but was in the access type for globals.
1 parent 4f3c31f commit 12b679f

File tree

1 file changed

+0
-1
lines changed
  • packages/payload/src/globals/config

1 file changed

+0
-1
lines changed

packages/payload/src/globals/config/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ export type GlobalConfig<TSlug extends GlobalSlug = any> = {
185185
_sanitized?: boolean
186186
access?: {
187187
read?: Access
188-
readDrafts?: Access
189188
readVersions?: Access
190189
update?: Access
191190
}

0 commit comments

Comments
 (0)