Skip to content

Commit 53aafdb

Browse files
committed
Update security
1 parent 23b4f2f commit 53aafdb

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

angular/wallypop/.idea/workspace.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular/wallypop/src/app/components/category/category.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

2+
<!-- ====== Security ====== -->
3+
<NotFound *ngIf="!loginService.isLogged() || !loginService.isAdmin()"></NotFound>
4+
25
<!-- ====== Page content ======-->
3-
<!-- {{>nav_side}} -->
46
<section class="full-width section" *ngIf="loginService.isAdmin()">
57
<div class="container">
68
<div class="row">
@@ -168,4 +170,5 @@ <h3 class="text-info">Foto</h3>
168170
</div>
169171
</div>
170172
</div>
171-
</section>
173+
</section>
174+

angular/wallypop/src/app/components/category/categoryList.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

2+
<!-- ====== Security ====== -->
3+
<NotFound *ngIf="!loginService.isLogged() || !loginService.isAdmin()"></NotFound>
4+
25
<!-- ====== Page content ======-->
3-
<!-- {{>nav_side}} -->
46
<section class="full-width section" *ngIf="loginService.isAdmin()">
57
<div class="container">
68
<div class="row">

angular/wallypop/src/app/components/report/reports.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
2+
<!-- ====== Security ====== -->
3+
<NotFound *ngIf="!loginService.isLogged() || !loginService.isAdmin()"></NotFound>
4+
15
<!-- ====== Page content ======-->
2-
<!-- {{>nav_side}} -->
36
<section class="full-width section" *ngIf="loginService.isAdmin()">
47
<div class="container">
58
<div class="row">

angular/wallypop/src/app/components/report/showReport.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
<!-- ====== Security ====== -->
3+
<NotFound *ngIf="!loginService.isLogged() || !loginService.isAdmin()"></NotFound>
4+
15
<!-- ====== Page content ======-->
26
<section class="section" *ngIf="loginService.isAdmin()">
37
<h2 class="text-center text-light">INCIDENCIA</h2>

0 commit comments

Comments
 (0)