Use \${bucket} in Resource ARNs — it will be replaced with the actual bucket name when applied.
Use \${bucket} in Resource ARNs — it will be replaced with the actual bucket name when applied.
Are you sure you want to delete policy ${policy.name}?
This will also detach the policy from all buckets it is currently applied to.
`, menuOptions: [ { name: 'Cancel', action: async (modal: any) => { modal.destroy(); } }, { name: 'Delete', action: async (modal: any) => { await appstate.policiesStatePart.dispatchAction(appstate.deletePolicyAction, { policyId: policy.id, }); modal.destroy(); }, }, ], }); } private async showPolicyBucketsModal(policy: interfaces.data.INamedPolicy): PromiseNo buckets attached to this policy.
`}All buckets already have this policy.
`}