From e4e074b17ecc511dcaecb163202a9358e97634b8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 29 Jul 2025 17:30:26 +0100 Subject: [PATCH] Add daily email --- content/meta/index.json | 7 ++ ...e.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3.yml | 73 +++++++++++++++++++ ...s.9da968ba-d6f7-4355-b8b4-f2dc1747116c.yml | 10 +++ 3 files changed, 90 insertions(+) create mode 100644 content/node.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3.yml create mode 100644 content/path_alias.9da968ba-d6f7-4355-b8b4-f2dc1747116c.yml diff --git a/content/meta/index.json b/content/meta/index.json index e9f8f393a..0040a2874 100644 --- a/content/meta/index.json +++ b/content/meta/index.json @@ -7164,5 +7164,12 @@ ], "path_alias.4caa0fba-5e66-4023-bb15-f522a62b9863": [ "node.4f9589eb-52d9-4c65-bf7d-48990e359631" + ], + "node.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3": [ + "user.b8966985-d4b2-42a7-a319-2e94ccfbb849", + "node.2a6bc8bd-a1e0-4f62-8112-47c3107020c5" + ], + "path_alias.9da968ba-d6f7-4355-b8b4-f2dc1747116c": [ + "node.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3" ] } \ No newline at end of file diff --git a/content/node.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3.yml b/content/node.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3.yml new file mode 100644 index 000000000..581d912a3 --- /dev/null +++ b/content/node.4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3.yml @@ -0,0 +1,73 @@ +uuid: + - value: 4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3 +langcode: + - value: en +type: + - target_id: daily_email + target_type: node_type + target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7 +revision_timestamp: + - value: '2025-07-29T16:29:25+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: 'The permissions issue that took down a website' +created: + - value: '2025-07-24T16:28:31+00:00' +changed: + - value: '2025-07-29T16:29:25+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: |- + Yesterday, I wrote about [the difficulty of removing permissions][0] from users once they have them, and why users should only have access to features they need. + + If a user only needs to perform a few tasks, they do not need an Administrator role that gives them access to everything. + + This, unfortunately, was the case on a project I was consulting on a few years ago. + + I had a message from the client saying the website was offline and if I'd done anything to cause it. + + It turned out that an employee of the client was working on the website, and they had an Administrator role. + + Because of this, they saw a message that an unsupported module was installed and that it needed to be updated. + + They clicked it and the module updated. + + This was a new version of the module with a breaking change, and updating it broke the website and took it offline. + + The previous version was restored and the website was brought back online, but if the user hadn't had the Administrator role, they wouldn't have been able to update the module and take down the website. + + [0]: /daily/2025/07/23/its-hard-take-things-away + format: markdown + processed: | +

Yesterday, I wrote about the difficulty of removing permissions from users once they have them, and why users should only have access to features they need.

+

If a user only needs to perform a few tasks, they do not need an Administrator role that gives them access to everything.

+

This, unfortunately, was the case on a project I was consulting on a few years ago.

+

I had a message from the client saying the website was offline and if I'd done anything to cause it.

+

It turned out that an employee of the client was working on the website, and they had an Administrator role.

+

Because of this, they saw a message that an unsupported module was installed and that it needed to be updated.

+

They clicked it and the module updated.

+

This was a new version of the module with a breaking change, and updating it broke the website and took it offline.

+

The previous version was restored and the website was brought back online, but if the user hadn't had the Administrator role, they wouldn't have been able to update the module and take down the website.

+ summary: '' +field_daily_email_cta: + - target_type: node + target_uuid: 2a6bc8bd-a1e0-4f62-8112-47c3107020c5 diff --git a/content/path_alias.9da968ba-d6f7-4355-b8b4-f2dc1747116c.yml b/content/path_alias.9da968ba-d6f7-4355-b8b4-f2dc1747116c.yml new file mode 100644 index 000000000..3a9834120 --- /dev/null +++ b/content/path_alias.9da968ba-d6f7-4355-b8b4-f2dc1747116c.yml @@ -0,0 +1,10 @@ +uuid: + - value: 9da968ba-d6f7-4355-b8b4-f2dc1747116c +langcode: + - value: en +path: + - value: /node/4d91d3dd-a1e8-4e31-a4d9-b8a302e903e3 +alias: + - value: /daily/2025/07/24/permissions-issue-took-down-website +status: + - value: true