feat: RBAC + SAML support

This commit is contained in:
Markos Gogoulos
2025-04-05 12:44:21 +03:00
committed by GitHub
parent 8fecccce1c
commit 05414f66c7
158 changed files with 6423 additions and 106 deletions

View File

@@ -42,7 +42,8 @@
{% get_current_language as LANGUAGE_CODE %}
<div class="custom-page-wrapper">
<h2>{{ "About" | custom_translate:LANGUAGE_CODE}}</h2>
{% comment %}<h2>{{ "About" | custom_translate:LANGUAGE_CODE}}</h2>{% endcomment %}
<h2>MediaCMS {{VERSION}}</h2>
<hr/>
<p><a href="https://mediacms.io">MediaCMS</a> {{ "is a modern, fully featured open source video and media CMS. It is developed to meet the needs of modern web platforms for viewing and sharing media" | custom_translate:LANGUAGE_CODE}}.</p>

View File

@@ -125,27 +125,6 @@
{% else %}
<div class="user-action-form-wrap">
<div class="user-action-form-inner">
<h1>Sign In</h1>
Please login or register before you upload a media!
{% url 'upload_media' as redirect_url %}
<p>If you have not created an account yet, then please <a href="{% url 'account_signup' %}?next={{ redirect_url }}">sign up</a> first.</p>
<form class="login" method="POST" action="{% url 'account_login' %}">
{% csrf_token %}
{{ form.as_p }}
<input type="hidden" name="next" value="{{ redirect_url }}" />
<button class="primaryAction" type="submit">Sign In</button>
</form>
</div>
</div>
{% endif %}
{% endblock innercontent %}