Replace orders quota with secrets reservation system

Registered by Michael

Currently, if secrets quota is not infinite, it is possible to create (secrets quota + orders quota) number of secrets via order creation, because the order quota enforcer does not take into account whether the secrets quota is full or not. This problem arises from the fact that the secrets quota is not checked when orders are placed.

Orders can also take a significant amount of time to create (such as in the case of certificates), which raises the question of whether there will be any secrets available for the order when it is finished creating (what if orders quota is greater than secrets
quota and the secrets quota is exceeded?).

This blueprint proposes removal of the orders quota, implementation of a system to reserve secrets when an order is placed, and the implementation of secret quota checks at every step of order creation (when an order is placed, when a call to the plugin is made, and when a secret is returned by the plugin).

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Michael
Direction:
Needs approval
Assignee:
Michael
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.