Feature request: change post password on expiry date #2

Closed
opened 2023-05-21 09:10:03 +00:00 by p4bl0- · 4 comments
p4bl0- commented 2023-05-21 09:10:03 +00:00 (Migrated from github.com)

Hello,

I would like to suggest a new feature: the ability to change the password of a post at the expiry date.

This would allow to have a post scheduled for publication at a given date in the future while having it available already for preview by people knowing the URL and password of the post (currently, scheduled post are offline, so the only way to privately share a post e.g. for proofreading to a few people is to publish it with a password but then one has to manually remove the password and change the post back status to "scheduled").

Thanks :),

Hello, I would like to suggest a new feature: the ability to change the password of a post at the expiry date. This would allow to have a post scheduled for publication at a given date in the future while having it available already for preview by people knowing the URL and password of the post (currently, scheduled post are offline, so the only way to privately share a post e.g. for proofreading to a few people is to publish it with a password but then one has to manually remove the password and change the post back status to "scheduled"). Thanks :),
JcDenis commented 2023-05-21 13:13:39 +00:00 (Migrated from github.com)

Done, hope it's what you need :)
You can now change or remove a post password at a given date.

Done, hope it's what you need :) You can now change or remove a post password at a given date.
p4bl0- commented 2023-05-22 09:50:54 +00:00 (Migrated from github.com)

Wow that was fast! Really cool! I'm testing it in production with a post that should be made public tomorrow at 13:12 and is already accessible right now with a password: https://p4bl0.net/post/2023/05/No-Crypto-Nastasia-Hadjadji :).
I'll see how it goes and report it here :).

Wow that was fast! Really cool! I'm testing it in production with a post that should be made public tomorrow at 13:12 and is already accessible right now with a password: https://p4bl0.net/post/2023/05/No-Crypto-Nastasia-Hadjadji :). I'll see how it goes and report it here :).
p4bl0- commented 2023-05-23 11:15:39 +00:00 (Migrated from github.com)

So it worked alright, the post was indeed accessible without a password at 13:12 today, but it didn't show up publicly on the blog. I guess I should have also set the post status to be set to "published" even thought it was already "published" with a password.

I'm not sure this should be fixed (like automatically set the post to "published" if it had a password and the operation to be done on expiry is to remove the password), because their may be other cases where at the same time the post status should be changed to something else. So it's just something the user should know.

So it worked alright, the post was indeed accessible without a password at 13:12 today, but it didn't show up publicly on the blog. I guess I should have also set the post status to be set to "published" even thought it was already "published" with a password. I'm not sure this should be fixed (like automatically set the post to "published" if it had a password and the operation to be done on expiry is to remove the password), because their may be other cases where at the same time the post status should be changed to something else. So it's just something the user should know.
JcDenis commented 2023-05-23 18:24:59 +00:00 (Migrated from github.com)

If a post was already published with password, when you only remove the password with the plugin postExpired, the post should stay published. Strange it was not the case... I'll do some test but not sure I'll fix this soon.

If a post was already **published** with password, when you _only_ remove the password with the plugin postExpired, the post should stay **published**. Strange it was not the case... I'll do some test but not sure I'll fix this soon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: JcDenis/postExpired#2
No description provided.