Enhance workflow actions with policy rules
Summary
=======
Add policy rules mechanism to workflow actions for determining which workflow steps are visible for a specific user.
Motivation
========
Policy rules are a more flexible way (than permissions) to determine what Dashboards/
Description
=========
First, add additional policies check besides permissions when determining steps for the workflow. Then, if some visible steps depend on data contributed by the steps which has been filtered out, then rendering such workflow should fail from the beginning because it won't be possible to complete it.
UX
===
N/A
Testing
======
Add one test for testing the workflow step being filtered out by policy_rules. Fix existing workflow steps to pass successfully (mock policy.check function).
Outside Dependencies
==================
N/A.
Requirements Update Required
=======
N/A.
Doc Impact
=========
N/A
Blueprint information
- Status:
- Complete
- Approver:
- David Lyle
- Priority:
- Medium
- Drafter:
- Timur Sufiev
- Direction:
- Approved
- Assignee:
- Timur Sufiev
- Definition:
- Approved
- Series goal:
- Accepted for 10.0.0-newton
- Implementation:
-
Implemented
- Milestone target:
- None
- Started by
- David Lyle
- Completed by
- David Lyle
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Enhance policy rules to workflow actions
Gerrit topic: https:/
Addressed by: https:/
Prevent creation of subnet via RBAC during new network creation
Addressed by: https:/
Revert "Prevent creation of subnet via RBAC during new network creation"