Skip to content

Commit

Permalink
Add force_readonly_datasets checkbox to force generating read-only da…
Browse files Browse the repository at this point in the history
…taset permissions
  • Loading branch information
manisandro committed Sep 17, 2024
1 parent 02da134 commit bad6e24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
setupAPIRequestButton(
'#generate_configs',
"{{ url_for('generate_configs') }}",
['use_cached_project_metadata'],
['use_cached_project_metadata', 'force_readonly_datasets'],
'#alert-generate_configs',
"Service configurations generated:",
"Error while refreshing config cache:"
Expand Down Expand Up @@ -112,6 +112,8 @@ <h1>{{ admin_gui_title }}</h1>
</button>
<br>
<label style="padding-top: 0.5em"><input id="use_cached_project_metadata" type="checkbox" /> {{ i18n('interface.main.use_cached_project_metadata') }}</label>
<br>
<label style="padding-top: 0.5em; font-weight: bold; color: red;"><input id="force_readonly_datasets" type="checkbox" /> {{ i18n('interface.main.force_readonly_datasets') }}</label>
{% endif %}

{% if solr_index_update_enabled %}
Expand Down

0 comments on commit bad6e24

Please sign in to comment.