Skip to content

Commit bd30d25

Browse files
author
Ervin
committed
Web
1 parent 08780aa commit bd30d25

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Web/config/packages/security.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ security:
6060
- { path: ^/api, roles: IS_AUTHENTICATED_ANONYMOUSLY }
6161
- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
6262
- { path: ^/users, roles: IS_AUTHENTICATED_FULLY }
63+
- { path: ^/courses, roles: IS_AUTHENTICATED_FULLY }
64+
- { path: ^/delete, roles: IS_AUTHENTICATED_FULLY }
65+
- { path: ^/edit, roles: IS_AUTHENTICATED_FULLY }

Web/templates/user/courses.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends 'base.html.twig' %}
22

3-
{% block title %}Users Panel{% endblock %}
3+
{% block title %}Courses Panel{% endblock %}
44

55
{% block stylesheets %}
66
{{ parent() }}

0 commit comments

Comments
 (0)