pkp / pln

PKP Preservation Network Plugin
https://docs.pkp.sfu.ca/pkp-pn/en/
GNU General Public License v3.0
3 stars 6 forks source link

Test journals can overwrite information in the PKP PN server #22

Open jonasraoni opened 2 years ago

jonasraoni commented 2 years ago

Describe the bug If a user setup a clone of the journal for testing purposes, using another domain, the behavior of the staging server/plugin seems to be a little permissive/undefined, as it ends up overwriting the backend information with the data from the test domain. Following the same idea, it might probably be also willing to ingest undesired/test content.

To Reproduce Spin up a clone of the journal in another domain, and once it tries to contact the staging server, it will end up overwriting the information in the administrative panel (e.g. journal's URL).

Notes

What application are you using? OJS 3.3

Additional information https://forum.pkp.sfu.ca/t/problem-the-pkp-pln-does-not-know-about-this-journal-yet/72678/17

jonasraoni commented 2 years ago

It was agreed that we're going to synchronize the information with the staging server only when accepting the terms (this issue should be stated to the users).