You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/administration/account-user-management/gitops-abac.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ For each rule, you must select or define the:
46
46
##### How to
47
47
48
48
1. In the Codefresh UI, on the toolbar, click the **Settings** icon.
49
-
1. On the sidebar, from Access & Collaboration, select [**GitOps Permissions**](https://g.codefresh.io/account-admin/permissions/teams){:target="\_blank"}.
49
+
1. On the sidebar, from Access & Collaboration, select **GitOps Permissions**.
50
50
1. To create a rule, click **Add** and define the following:
51
51
***Entity**: One of the following: {::nomarkdown} <ul><li>GitOps Applications</li><li>Promotion Flows</li><li>Products</li><li>Environments</li></ul>{:/}
52
52
***Team**: The team or teams to which to give access to the selected entity.
@@ -79,7 +79,7 @@ See the documentation for [codefresh_abac_rules](https://registry.terraform.io/p
|**Actions** | {::nomarkdown}<ul><li><b>Refresh</b>: Allow users to manually regular refresh or hard refresh. The Refresh action is automatically disabled on selecting the Sync action which takes precedence. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#refreshhard-refresh-applications">Refresh/Hard Refresh applications</a>.</li><li><b>Sync</b>: Allow users to manually sync an application on-demand, and define the options for manual sync.<br>Selecting Sync automatically disables the Refresh action as Sync takes precedence over it. <br> See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manually-synchronize-an-application">Manually synchronize an application</a>.</li><li><b>Terminate Sync</b>: Allow users to manually stop an ongoing sync for an application. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#terminate-on-going-application-sync">Terminate on-going application sync</a></li><li><b>Perform application rollback</b>: Allow users to rollback the current release of an application to a previous deployment version or release in Codefresh. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#rollback-argo-cd-applications">Rollback Argo CD applications</a>.</li><li><b>View pod logs</b>: Allow users to view logs for pod resources of an application in the Current State tab. <br>See <a href="https://codefresh.io/docs/docs/deployments/gitops/monitor-applications/#logs-for-application-resources">Logs for application resources</a>.</li><li><b>Pause rollout</b> and <b>Resume rollout</b>: Allow users to pause an ongoing rollout and resume a paused rollout either directly from the Timeline tab of the application, or through the controls in the Rollout Player. <br>See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#pauseresume-ongoing-rollouts">Pause/resume ongoing rollouts</a> and <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Promote full rollout</b>: Allow users to use the Promote Full button in the Rollout Player to skip the remaining steps in the rollout and promote to deployment. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Skip current step in rollout</b>: Allow users to use the Skip Step button in the Rollout Player to skip executing the current step in the rollout. <br>See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Abort rollout</b>: Allow users to use the Abort button in the Rollout Player to terminate the current rollout. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Retry rollout</b>: Allow users to use the Retry button in the Rollout Player to restart an aborted rollout from the beginning. Available only when a rollout was aborted. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Delete resource</b>: Allow users to delete an application resource from the Current State tab. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#delete-an-application">Delete an application</a>.</li></ul>{:/} |
82
+
|**Actions** | {::nomarkdown}<ul><li><b>Refresh</b>: Allow users to manually regular refresh or hard refresh. The Refresh action is automatically disabled on selecting the Sync action which takes precedence. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#refreshhard-refresh-argo-cd-applications">Refresh/Hard Refresh applications</a>.</li><li><b>Sync</b>: Allow users to manually sync an application on-demand, and define the options for manual sync.<br>Selecting Sync automatically disables the Refresh action as Sync takes precedence over it. <br> See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manually-sync-an-argo-cd-application">Manually synchronize an application</a>.</li><li><b>Terminate Sync</b>: Allow users to manually stop an ongoing sync for an application. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#terminate-on-going-sync-for-argo-cd-applications">Terminate on-going application sync</a></li><li><b>Perform application rollback</b>: Allow users to rollback the current release of an application to a previous deployment version or release in Codefresh. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#rollback-argo-cd-applications">Rollback Argo CD applications</a>.</li><li><b>View pod logs</b>: Allow users to view logs for pod resources of an application in the Current State tab. <br>See <a href="https://codefresh.io/docs/docs/deployments/gitops/monitor-applications/#manifests-logs-and-events-for-application-resources">Logs for application resources</a>.</li><li><b>Pause rollout</b> and <b>Resume rollout</b>: Allow users to pause an ongoing rollout and resume a paused rollout either directly from the Timeline tab of the application, or through the controls in the Rollout Player. <br>See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#pauseresume-ongoing-rollouts">Pause/resume ongoing rollouts</a> and <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Promote full rollout</b>: Allow users to use the Promote Full button in the Rollout Player to skip the remaining steps in the rollout and promote to deployment. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Skip current step in rollout</b>: Allow users to use the Skip Step button in the Rollout Player to skip executing the current step in the rollout. <br>See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Abort rollout</b>: Allow users to use the Abort button in the Rollout Player to terminate the current rollout. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Retry rollout</b>: Allow users to use the Retry button in the Rollout Player to restart an aborted rollout from the beginning. Available only when a rollout was aborted. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#manage-an-ongoing-rollout-with-the-rollout-player">Managing an ongoing rollout with the Rollout Player</a>.</li><li><b>Delete resource</b>: Allow users to delete an application resource from the Current State tab. See <a href="https://codefresh.io/docs/docs/deployments/gitops/manage-application/#delete-argo-cd-applications">Delete an application</a>.</li></ul>{:/} |
83
83
|**Attributes** |Allow access to application entities on a cluster or within a namespace through a single attribute or a combination of attributes.<br>You can also add multiple instances of the same attribute with different values. {::nomarkdown} <ul><li><b>Cluster</b>: Allow access to all application entities in the cluster, regardless of the namespace, Runtime, and Git Sources of specific applications.</li><li><b>Namespace</b>: Allow access to application entities only within the namespace. If users have multiple accounts on different clusters with the same namespace, they can access applications in all those namespaces.</li><li><b>Runtime</b>: Allow access to application entities associated with the defined Runtime.</li><li><b>Git Source</b>: Allow access to application entities only in the defined Git Source. A Git Source is always associated with a Runtime.</li><li><b>Label</b>: Allow access only to application entities that share the same label. For example, add multiple Label attributes with different values to sync application entities.</li></ul>{:/} |
84
84
85
85
### Examples of rules for application entities
@@ -122,7 +122,7 @@ This rule grants the Support team permission to manually sync application entiti
|**Actions**|**Promote to this environment**: Allows the following actions: {::nomarkdown}<ul><li>Manually trigger a Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-promote-products-to-multiple-environments-by-promotion-flow">Manually trigger a Promotion Flow</a>.</li><li>Use the Promote option in the Product or Environments dashboard to manually promote an application to the desired environment through the desired Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-promote-products-to-specific-environments">Manually promote to specific environments</a>.</li><li>Drag-and-drop an application from one environment to another and trigger promotion. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-trigger-promotions-through-drag-n-drop">Manually trigger promotions through drag-n-drop</a>.</li></ul>{:/} |
125
+
|**Actions**|**Promote to this environment**: Allows the following actions: {::nomarkdown}<ul><li>Manually trigger a Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-trigger-promotion-flows">Manually trigger a Promotion Flow</a>.</li><li>Use the Promote option in the Product or Environments dashboard to manually promote an application to the desired environment through the desired Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-promote-products-to-specific-environments">Manually promote to specific environments</a>.</li><li>Drag-and-drop an application from one environment to another and trigger promotion. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-trigger-promotions-through-drag-n-drop">Manually trigger promotions through drag-n-drop</a>.</li></ul>{:/} |
126
126
|**Attributes**|{::nomarkdown} <ul><li><b>Environment Name</b>: Allow users to promote to all environments that match the name or names. For example, allows users in team <codeclass="highlighter-rouge">Dev</code> to promote to <codeclass="highlighter-rouge">dev</code> and <codeclass="highlighter-rouge">staging</code> environments only.</li><li><b>Environment Kind</b>: Allow users to promote to only the specified type of environment, either <codeclass="highlighter-rouge">production</code> or <codeclass="highlighter-rouge">non-production</code>. </li></ul>{:/} |
127
127
128
128
### Examples of rules for environment entities
@@ -165,7 +165,7 @@ This rule grants broader manual promotion privileges to specific non-production
|**Actions**|{::nomarkdown}<ul><li><b>Trigger promotion</b>: Allow users to manually trigger a Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-promote-products-to-multiple-environments-by-promotion-flow">Manually trigger a Promotion Flow</a>.</li><li><b>Retry failed release</b>: Allow users to restart a failed release from the point of failure. See <ahref="https://codefresh.io/docs/docs/promotions/product-releases/#retry-a-failed-release">Retry a failed release</a>.</li></ul>{:/} |
168
+
|**Actions**|{::nomarkdown}<ul><li><b>Trigger promotion</b>: Allow users to manually trigger a Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-trigger-promotion-flows">Manually trigger a Promotion Flow</a>.</li><li><b>Retry failed release</b>: Allow users to restart a failed release from the point of failure. See <ahref="https://codefresh.io/docs/docs/promotions/product-releases/#retry-a-failed-release">Retry a failed release</a>.</li></ul>{:/} |
169
169
|**Attributes**|{::nomarkdown} <ul><li><b>Label</b>: Allow users to trigger promotions or to retry failed releases only for products that match the specified labels. For example, allow users in team <codeclass="highlighter-rouge">DevOps</code> to promote products with the label <codeclass="highlighter-rouge">hotfix</code>. See <ahref="https://codefresh.io/docs/docs/products/configure-product-settings/#configure-labels">Configuring labels in Product Settings</a> </li><li><b>Product Name</b>: Allow users to trigger promotions or to retry failed releases only for products that match the specified names. For example, allow users in team <codeclass="highlighter-rouge">Dev</code> to promote products with the name <codeclass="highlighter-rouge">Marvel</code>. </li></ul>{:/} |
170
170
171
171
@@ -219,7 +219,7 @@ This rule grants manual promotion privileges to specific products that match a s
|**Actions**|**Trigger promotion flow**: Allow users to manually trigger a Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-promote-products-to-multiple-environments-by-promotion-flow">Manually trigger a Promotion Flow</a>.</li>|
222
+
|**Actions**|**Trigger promotion flow**: Allow users to manually trigger a Promotion Flow. See <ahref="https://codefresh.io/docs/docs/promotions/trigger-promotions/#manually-promote-products-to-multiple-environments-by-promotion-flow">Manually trigger a Promotion Flow</a>.|
223
223
|**Attributes**|**Label**: Allow users to trigger promotions for Promotion Flows that match the specified label in the YAML manifest. |
0 commit comments