mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 08:13:23 +00:00
Remove redundant access controls from EmailTemplates and Emails collections
This commit is contained in:
@@ -8,12 +8,6 @@ export const createEmailTemplatesCollection = (editor?: RichTextField['editor'])
|
|||||||
defaultColumns: ['name', 'subject', 'updatedAt'],
|
defaultColumns: ['name', 'subject', 'updatedAt'],
|
||||||
group: 'Mailing',
|
group: 'Mailing',
|
||||||
},
|
},
|
||||||
access: {
|
|
||||||
read: () => true,
|
|
||||||
create: () => true,
|
|
||||||
update: () => true,
|
|
||||||
delete: () => true,
|
|
||||||
},
|
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@@ -8,12 +8,6 @@ const Emails: CollectionConfig = {
|
|||||||
group: 'Mailing',
|
group: 'Mailing',
|
||||||
description: 'Email delivery and status tracking',
|
description: 'Email delivery and status tracking',
|
||||||
},
|
},
|
||||||
access: {
|
|
||||||
read: () => true,
|
|
||||||
create: () => true,
|
|
||||||
update: () => true,
|
|
||||||
delete: () => true,
|
|
||||||
},
|
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
name: 'template',
|
name: 'template',
|
||||||
|
|||||||
Reference in New Issue
Block a user