Skip to content

Commit

Permalink
EPMRPP-86823 || Add env variable (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
pressayuliya authored Oct 3, 2023
1 parent 62357a9 commit d036646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docs/user-account/DataRetentionProcedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ To activate data retention, add the following environment variables to Service J

```
# Int (days)
RP_ENVIRONMENT_VARIABLE_CLEAN_EXPIREDUSER_RETENTIONPERIOD:
# CRON
RP_ENVIRONMENT_VARIABLE_CLEAN_EXPIREDUSER_CRON:
RP_ENVIRONMENT_VARIABLE_NOTIFICATION_EXPIREDUSER_CRON:
```

Expand All @@ -29,17 +26,12 @@ Fill in Service Jobs values in the [values.yaml](https://github.com/reportportal

```
servicejobs:
coreJobs:
# Int (days)
notifyExpiredUserCron:
# CRON
cleanExpiredUserCron:
cleanExpiredUserRetention:
```

Expand Down
4 changes: 4 additions & 0 deletions docs/user-account/DeleteAccount.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Starting from version 23.2, ReportPortal users can delete their accounts along w

During the instance setup, the DevOps engineer (or whoever is deploying the instance) can use a variable to decide whether the "Delete account" button will appear in each user's profile or not. This setting is specific to each instance.

```
RP_ENVIRONMENT_VARIABLE_ALLOW_DELETE_ACCOUNT: true
```

When a user clicks on the **"Delete account" button**, a modal window with feedback options appears. The user can select from predefined options or choose "Other" and provide a specific reason for deleting their account. Alternatively, they can simply select "Other" without leaving any comments.

<media-view src={require('./img/DeleteAccount1.png')} alt="Feedback options" />
Expand Down

0 comments on commit d036646

Please sign in to comment.