Skip to content

Commit

Permalink
Merge pull request #2508 from JohnDuprey/dev
Browse files Browse the repository at this point in the history
Update JIT actions
  • Loading branch information
JohnDuprey authored Jun 3, 2024
2 parents 0604ba7 + b542489 commit 5423ed5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/views/identity/administration/DeployJITAdmin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ const DeployJITAdmin = () => {
<RFFSelectSearch
label="Expiration Action"
values={[
{ value: 'removeroles', name: 'Remove Admin Roles' },
{ value: 'disable', name: 'Disable' },
{ value: 'delete', name: 'Delete' },
{ value: 'RemoveRoles', name: 'Remove Admin Roles' },
{ value: 'DisableUser', name: 'Disable User' },
{ value: 'DeleteUser', name: 'Delete User' },
]}
placeholder="Select action for when JIT expires"
name="expireAction"
Expand All @@ -198,7 +198,9 @@ const DeployJITAdmin = () => {
</CRow>
{postResults.isSuccess && (
<CCallout color="success">
<li>{postResults.data.Results}</li>
{postResults.data?.Results.map((result, idx) => (
<li key={idx}>{result}</li>
))}
</CCallout>
)}
{getResults.isFetching && (
Expand Down

0 comments on commit 5423ed5

Please sign in to comment.