# Feature OP-10302 - List all possible settings

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-10302

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

Now that all settings are defined in a central register it would be useful to be able to list them so as a system admin your know what can be configured.

This could look something like this:

```bash
# add to setting:add and setting:get the following
bundle exec rake setting:list
```

Which would then list all settings that can be changed via the environment (`writable: false`). The output could look like this:

```text
Possible settings:

| Name                         | Format  | Default |
+------------------------------+---------+---------+
| additional_footer_content    | string  |         |
+------------------------------+---------+---------+
| attachment_max_size          | integer | 5120    |
+------------------------------+---------+---------+
| ...                          | ...     | ...     |
+------------------------------+---------+---------+
```

There could also be an APIv3 endpoint that does this and for which the rake task would just be another display option.
