for collection careers, clients and posts, public can view it without logged in as admin
@@ -7,6 +7,9 @@ export const Careers: CollectionConfig = {
useAsTitle: 'title',
defaultColumns: ['title', 'jobCategory', 'isUrgentlyHiring'],
},
+ access: {
+ read: () => true,
+ },
fields: [
{
name: 'title',
@@ -17,8 +20,6 @@ export const Careers: CollectionConfig = {
slugField({
name: 'slug',
fieldToUse: 'title',
- localized: false,
- unique: true,
}),
name: 'image',
@@ -6,6 +6,9 @@ export const Clients: CollectionConfig = {
useAsTitle: 'name',
defaultColumns: ['name', 'category', 'href'],
name: 'name',
@@ -7,6 +7,9 @@ export const Posts: CollectionConfig = {
defaultColumns: ['title', 'type', 'category', 'publishedDate'],
name: 'type',
@@ -40,8 +43,6 @@ export const Posts: CollectionConfig = {