Files
payload/test/joins/shared.ts
Dan Ribbens 5af71fb8d0 fix: join collection read access (#9930)
Respect read access control through the join field collections for GraphQL and admin UI

fixes #9922 and #9865
2024-12-12 12:01:03 -05:00

31 lines
751 B
TypeScript

export const categoriesSlug = 'categories'
export const categories2Slug = 'categories-2'
export const postsSlug = 'posts'
export const hiddenPostsSlug = 'hidden-posts'
export const uploadsSlug = 'uploads'
export const localizedPostsSlug = 'localized-posts'
export const localizedCategoriesSlug = 'localized-categories'
export const restrictedPostsSlug = 'restricted-posts'
export const categoriesJoinRestrictedSlug = 'categories-join-restricted'
export const collectionRestrictedSlug = 'collection-restricted'
export const restrictedCategoriesSlug = 'restricted-categories'
export const collectionSlugs = [
categoriesSlug,
postsSlug,
localizedPostsSlug,
localizedCategoriesSlug,
restrictedPostsSlug,
restrictedCategoriesSlug,
]