GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::Workflow::Activity::Tools::Approve(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::Activity::Tools::Approve(3)

OpenXPKI::Server::Workflow::Activity::Tools::Approve

Store approvals as a serialized array. This allows for easy evaluation of needed approvals in OpenXPKI::Server::Workflow::Condition::Approved.

The activity has several operational modes, that are determined by the mode parameter.

This is the default mode, it adds the user and role from the current session to the list of approvals. Only one approval by the same user is allowed, if the action is called by the same user mutliple times, the activity will not update the list of approvals.

If you set the mutli_role_approval parameter to a true value, a user can approve one time with each role he can impersonate.

Adds the information passed via the comment parameter as approval. Note that there is no duplicate check like in the session approval, if you call this multiple times you will end up with multiple valid approvals.

The comment is mandatory, if not given the action will exit with a workflow configuration error.

mode
Operation mode, possible values are session or generated
mutli_role_approval
Boolean, allow multiple approvals by same user with different roles.
comment
The approval comment to add for generated approvals, mandatory in generated mode.
points
Number of points that this approval is worth. Default is one point.

approvals
The serialized array of given approvals, each item is a hash holding the approval information.
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.