Skip to content

Commit

Permalink
v. 1.14.2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Oct 15, 2024
1 parent 0751107 commit a035ca5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend_celery/webapp/auth/auth_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def profile():


@auth_blueprint.route('/generate_api_key', methods=['GET', 'POST'])
@require_permission(["read_resources"])
@require_permission(["admin_resources"])
def generate_api_key():
username = session['user']['preferred_username']
new_key = secrets.token_hex(32)
Expand Down
2 changes: 2 additions & 0 deletions src/frontend_celery/webapp/templates/auth/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ <h1> {% block title %} Edit your personal information {% endblock %} </h1>
<td class="width_small vertical_align_middle">Affiliation</td>
<td><input class="form-control" type="text" value="{{ user.get('attributes', {}).get('affiliation', [''])[0] }}" name="affiliation"></td>
</tr>
{% if session.get('user') is not none and 'super_user' in session['user']['roles'] %}
<tr>
<td class="width_small vertical_align_middle">API key</td>
<td>
Expand All @@ -39,6 +40,7 @@ <h1> {% block title %} Edit your personal information {% endblock %} </h1>
</div>
</td>
</tr>
{% endif %}
</tbody>
</table>
</div>
Expand Down
14 changes: 14 additions & 0 deletions src/frontend_celery/webapp/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,20 @@ <h4>Overview</h4>
<div class="bst bsb">
<h4>Changelog</h4>

<div class="underline">v 1.14.2 (15.10.2024)</div>
<div>
General changes:
<ul>
<li>Added class "R" to SVI adaptation scheme</li>
<li>Improved security for API</li>
</ul>
Bugfixes:
<ul>
<li>Fixed bug where mails were not sent to new created users</li>
<li>All final classifications are now shown properly in no_scheme classification scheme</li>
</ul>
</div>

<div class="underline">v 1.14.1 (30.08.2024)</div>
<div>
General changes:
Expand Down

0 comments on commit a035ca5

Please sign in to comment.