From 7e98c70c3f7d52536a21dc4862c8a5a84e57e23f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 29 Jul 2025 00:24:17 +0100 Subject: [PATCH] Add daily email --- content/meta/index.json | 7 ++ ...e.4f9589eb-52d9-4c65-bf7d-48990e359631.yml | 64 +++++++++++++++++++ ...s.4caa0fba-5e66-4023-bb15-f522a62b9863.yml | 10 +++ 3 files changed, 81 insertions(+) create mode 100644 content/node.4f9589eb-52d9-4c65-bf7d-48990e359631.yml create mode 100644 content/path_alias.4caa0fba-5e66-4023-bb15-f522a62b9863.yml diff --git a/content/meta/index.json b/content/meta/index.json index 9c9e0abf3..e9f8f393a 100644 --- a/content/meta/index.json +++ b/content/meta/index.json @@ -7157,5 +7157,12 @@ ], "path_alias.f620ce9b-e7ce-4f46-85df-f136d6591957": [ "node.9be0f54b-1afd-41ca-9cc3-f8b169645b66" + ], + "node.4f9589eb-52d9-4c65-bf7d-48990e359631": [ + "user.b8966985-d4b2-42a7-a319-2e94ccfbb849", + "node.e3f6c728-7855-4804-8614-e2a0c08c368f" + ], + "path_alias.4caa0fba-5e66-4023-bb15-f522a62b9863": [ + "node.4f9589eb-52d9-4c65-bf7d-48990e359631" ] } \ No newline at end of file diff --git a/content/node.4f9589eb-52d9-4c65-bf7d-48990e359631.yml b/content/node.4f9589eb-52d9-4c65-bf7d-48990e359631.yml new file mode 100644 index 000000000..25ea48cb9 --- /dev/null +++ b/content/node.4f9589eb-52d9-4c65-bf7d-48990e359631.yml @@ -0,0 +1,64 @@ +uuid: + - value: 4f9589eb-52d9-4c65-bf7d-48990e359631 +langcode: + - value: en +type: + - target_id: daily_email + target_type: node_type + target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7 +revision_timestamp: + - value: '2025-07-28T23:23:20+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: "It's hard to take things away" +created: + - value: '2025-07-23T23:21:58+00:00' +changed: + - value: '2025-07-28T23:23:20+00:00' +promote: + - value: false +sticky: + - value: false +default_langcode: + - value: true +revision_translation_affected: + - value: true +path: + - alias: /daily/2025/07/23/its-hard-take-things-away + langcode: en +body: + - value: |- + A common issue I see on Drupal projects is how the user roles and permissions have been configured. + + They are usually set up correctly to begin with, with users given the correct roles with only the permissions they need to perform their required tasks. + + But, at some point, something doesn't work or a user needs access to something new. + + Rather than assign them a new role, the user is commonly given a role that gives them access to too much - usually an Administrator role that lets them access anything in the Drupal admin UI. + + As well as introducing security risks, when a user has access to all the settings, they will use them and it is very difficult to review and change user roles and permissions once they have been assigned without causing disruption. + + It may be tempting, particularly if there is pressure or deadlines, but avoid giving roles and permissions they don't need. + + Once they are given, they are hard to take away. + format: markdown + processed: | +

A common issue I see on Drupal projects is how the user roles and permissions have been configured.

+

They are usually set up correctly to begin with, with users given the correct roles with only the permissions they need to perform their required tasks.

+

But, at some point, something doesn't work or a user needs access to something new.

+

Rather than assign them a new role, the user is commonly given a role that gives them access to too much - usually an Administrator role that lets them access anything in the Drupal admin UI.

+

As well as introducing security risks, when a user has access to all the settings, they will use them and it is very difficult to review and change user roles and permissions once they have been assigned without causing disruption.

+

It may be tempting, particularly if there is pressure or deadlines, but avoid giving roles and permissions they don't need.

+

Once they are given, they are hard to take away.

+ summary: '' +field_daily_email_cta: + - target_type: node + target_uuid: e3f6c728-7855-4804-8614-e2a0c08c368f diff --git a/content/path_alias.4caa0fba-5e66-4023-bb15-f522a62b9863.yml b/content/path_alias.4caa0fba-5e66-4023-bb15-f522a62b9863.yml new file mode 100644 index 000000000..584431410 --- /dev/null +++ b/content/path_alias.4caa0fba-5e66-4023-bb15-f522a62b9863.yml @@ -0,0 +1,10 @@ +uuid: + - value: 4caa0fba-5e66-4023-bb15-f522a62b9863 +langcode: + - value: en +path: + - value: /node/4f9589eb-52d9-4c65-bf7d-48990e359631 +alias: + - value: /daily/2025/07/23/its-hard-take-things-away +status: + - value: true