Configurable Auto Accept for Action Requests from Data Owners
User Story:
As a ONE Record server administrator, I want to be able to configure an automated acceptance process for Action Requests, So that when the requestor is the data owner, The requested actions are automatically approved without (manual) approval. For action requests (e.g. ChangeRequest, SubscriptionRequest, AccessDelegationRequest) that are submitted from external business partners, the status should be set to PENDING.
Acceptance Criteria:
- There should be a new configuration option in the application.properties settings related to Action Request processing, e.g.
neone-server.auto_accept_action_requests=true
- The configuration option should allow enabling or disabling the "Auto Accept for Data Owners" feature.
- The server should also send Notifications to subscribers after the status has been changed to PENDING due to auto accept.
- If the feature is enabled:
- Whenever an Action Request is submitted by a data owner,
- And the requested actions do not violate any security or policy constraints,
- The request should be automatically marked as ACCEPTED.
- If the feature is disabled:
- Action Requests should follow the standard approval process regardless of the requestor's status as a data owner.
- The system should generate appropriate logs whenever an Action Request is auto accepted due to this feature.
- The feature should be properly documented in the NE-ONE server user guide.
Edited by Daniel A. Doeppner