Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAI: OaiIndexEventConsumer and cli - index as anonymous #585

Open
milanmajchrak opened this issue Apr 5, 2024 · 1 comment
Open

OAI: OaiIndexEventConsumer and cli - index as anonymous #585

milanmajchrak opened this issue Apr 5, 2024 · 1 comment

Comments

@milanmajchrak
Copy link
Collaborator

milanmajchrak commented Apr 5, 2024

https://github.com/ufal/clarin-dspace/pull/996/files

@milanmajchrak milanmajchrak changed the title OAI: OaiIndexEventConsumer - index as anonymous OAI: OaiIndexEventConsumer and cli - index as anonymous Apr 5, 2024
@kosarko
Copy link

kosarko commented Oct 9, 2024

ufal-important
reindex z cli (cronu) probiha v Anonymous Contextu a je to tak spravne (harvestery taky nejsou prihlaseny).

Pokud reindex v reakci na zmenu (metadat) itemu probiha v kontextu uzivatele, ktery zmenu provedl, je to spatne.

Details:

item.public (ktere pouziva defaultFilter v xoai.xml skrze https://github.com/ufal/clarin-dspace/blob/d20cbdb420e7c7ac01bfea8e3285b4ffaff1c1ed/dspace-oai/src/main/java/org/dspace/xoai/filter/DSpaceAuthorizationFilter.java#L74) se nema menit s tim, kdo indexuje item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants