oaregithub / oare_mono

1 stars 0 forks source link

Create method to move text from one collection to another (SQL is fine) #1621

Closed oaregithub closed 10 months ago

oaregithub commented 1 year ago

Primarily for moving a text from a collection that is 'unpublished' and therefore on the Public Denylist to a collection that is not on the Public Denylist... This may entail adding a row for all texts in the public denylist individually and move away from the collection denying...

hbludworth commented 1 year ago

@edstratford If I'm understanding right, you're creating collections just for unpublished texts and adding those collections to the Public Denylist. Now you want to move those texts to a visible collection?

The Public Denylist already supports hiding individual texts. So I guess, if I'm understanding right, unpublished texts should still be created within the collection that they belong to, but should just be individually denylisted. That would solve the problem of transferring texts. Seems to me like creating "fake" collections to store unpublished docs is overly complicated when we can already denylist individual texts. Maybe I'm not following correctly though.

edstratford commented 1 year ago

Yes - you are correct - I need to simply ensure that all unpublished texts are on the Public Denylist. This was more me reminding myself - No expectations on the front end.

edstratford commented 10 months ago

This will be done in SQL on as needed basis.