From 97359e2e42efd310f1567797f54154ffd6ce09ed Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 30 Jul 2025 22:26:33 +0100 Subject: [PATCH] Add daily email --- content/meta/index.json | 7 +++ ...e.ff9b4282-001a-49f2-8c8a-b0b00cf1777f.yml | 62 +++++++++++++++++++ ...s.12e48db8-19f0-4656-aea0-2cd2882c0982.yml | 10 +++ 3 files changed, 79 insertions(+) create mode 100644 content/node.ff9b4282-001a-49f2-8c8a-b0b00cf1777f.yml create mode 100644 content/path_alias.12e48db8-19f0-4656-aea0-2cd2882c0982.yml diff --git a/content/meta/index.json b/content/meta/index.json index 0040a2874..4c8408ded 100644 --- a/content/meta/index.json +++ b/content/meta/index.json @@ -7171,5 +7171,12 @@ ], "path_alias.9da968ba-d6f7-4355-b8b4-f2dc1747116c": [ "node.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3" + ], + "node.ff9b4282-001a-49f2-8c8a-b0b00cf1777f": [ + "user.b8966985-d4b2-42a7-a319-2e94ccfbb849", + "node.2a6bc8bd-a1e0-4f62-8112-47c3107020c5" + ], + "path_alias.12e48db8-19f0-4656-aea0-2cd2882c0982": [ + "node.ff9b4282-001a-49f2-8c8a-b0b00cf1777f" ] } \ No newline at end of file diff --git a/content/node.ff9b4282-001a-49f2-8c8a-b0b00cf1777f.yml b/content/node.ff9b4282-001a-49f2-8c8a-b0b00cf1777f.yml new file mode 100644 index 000000000..82ce4003c --- /dev/null +++ b/content/node.ff9b4282-001a-49f2-8c8a-b0b00cf1777f.yml @@ -0,0 +1,62 @@ +uuid: + - value: ff9b4282-001a-49f2-8c8a-b0b00cf1777f +langcode: + - value: en +type: + - target_id: daily_email + target_type: node_type + target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7 +revision_timestamp: + - value: '2025-07-30T21:26:08+00:00' +revision_uid: + - target_type: user + target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 +revision_log: { } +status: + - value: true +uid: + - target_type: user + target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 +title: + - value: 'Drupal roles are layerable' +created: + - value: '2025-07-25T21:24:38+00:00' +changed: + - value: '2025-07-30T21:26:08+00:00' +promote: + - value: false +sticky: + - value: false +default_langcode: + - value: true +revision_translation_affected: + - value: true +path: + - alias: '' + pid: null + langcode: en +body: + - value: |- + A common issue I see on Drupal websites is that [users have too many permissions][1]. + + They are often given a role like an Administrator that gives them too many options - sometimes introducing a security risk or the possibility of [taking a website down accidentally][0]. + + A thing about Drupal roles is that they are layerable. + + A user can have multiple roles and get the combined permissions from each role. + + So why not have a number of small specific roles and assign them to users as needed, rather than a small number of larger roles that give too much? + + [0]: /daily/2025/07/24/permissions-issue-took-down-website + [1]: /daily/2025/07/23/its-hard-take-things-away + format: markdown + processed: | +

A common issue I see on Drupal websites is that users have too many permissions.

+

They are often given a role like an Administrator that gives them too many options - sometimes introducing a security risk or the possibility of taking a website down accidentally.

+

A thing about Drupal roles is that they are layerable.

+

A user can have multiple roles and get the combined permissions from each role.

+

So why not have a number of small specific roles and assign them to users as needed, rather than a small number of larger roles that give too much?

+ summary: '' +field_daily_email_cta: + - target_type: node + target_uuid: 2a6bc8bd-a1e0-4f62-8112-47c3107020c5 diff --git a/content/path_alias.12e48db8-19f0-4656-aea0-2cd2882c0982.yml b/content/path_alias.12e48db8-19f0-4656-aea0-2cd2882c0982.yml new file mode 100644 index 000000000..0131942ae --- /dev/null +++ b/content/path_alias.12e48db8-19f0-4656-aea0-2cd2882c0982.yml @@ -0,0 +1,10 @@ +uuid: + - value: 12e48db8-19f0-4656-aea0-2cd2882c0982 +langcode: + - value: en +path: + - value: /node/ff9b4282-001a-49f2-8c8a-b0b00cf1777f +alias: + - value: /daily/2025/07/25/drupal-roles-are-layerable +status: + - value: true