How can I access the *EPerson* that triggered a curation task from within
the task in DSpace 6?
I tried:
currentUser = Curator.curationContext().getCurrentUser()
But this seems to always be `null`.
*Background: *
Only users (*EPerson*s) that are part of a certain *Group* should be
allowed to execute the curation task. So I try to get the user that
triggered the task and plan to compare it to the group that is allowed to
use the task. Or is there a completely different approach to the problem?
Cross-posting from Stack Overflow:
http://stackoverflow.com/questions/42273168/how-to-access-the-eperson-that-triggered-a-curation-task-from-within-the-task
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.