Dear FirstSpirit community,
is there a way to release a FirstSpirit resource under a specified user?
Up to now, there are only the following API calls available, that will release a page under the currently connected FirstSpirit user:
Maybe, there is an undocumented possibility to execute a:
Might in that case really helpful, to get rid of corrupt release data very fast.
An answer is highly appreciated.
you think it's not possible. But we need a sustainable and relyable answer. Could you clarify that in combination with FirstSpirit's core developement team?
Maybe there is an undocumented API available that might help here.
you can use a script/module that creates a new connection, using a different user to perform the release. There's no way to perform actions in the name of an user without a proper authentication.
in order to do that via the non-workflow-based release call, the user needs at least project admin release permission rights. Correct?
This leads to the following steps:
- adding the user in the "Administrators" FirstSpirit group
- setting the permission right for "CAN_RELEASE" on the corresponding node
- release the changes
[plain user connection]
- re-connecting using the specified user
- releasing the store element
- undo the above changes
- release again -> using the SuperAdmin user
Consequence: what is won?
I'm talking about the release-API calls:
My assumption is, that these release calls are the ones, that are provoked via "Extras" -> "Release" in JavaClient - so non-workflow-based.
The GUI provided there offers similar functionality as provided within http://www.e-spirit.com/odfs42/access/de/espirit/firstspirit/access/AccessUtil.html.
There are a couple of release methods there.
To release objects, the user needs the CAN_RELEASE permissions. He doesn't need to be project admin if that was your question. I'm still unsure what you're trying to do.