-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TCVP-2687 Fixed the role permissions
- Loading branch information
Sai Krishna Metpalli
authored and
Sai Krishna Metpalli
committed
Jun 7, 2024
1 parent
d2d34a1
commit d74f712
Showing
6 changed files
with
58 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/frontend/staff-portal/src/app/components/error/unauthorized/unauthorized.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<app-page> | ||
<div class="container"> | ||
<br /> | ||
<h1 class="BC-Gov-32px-blue-text">You are not authorized to access Ticket Resolution Management</h1> | ||
<h1 class="BC-Gov-32px-blue-text">You are not authorized to access the TCO - {{application}} Workbench</h1> | ||
<hr style="opacity: 1; color: #fcba19" /> | ||
</div> | ||
</app-page> |
12 changes: 9 additions & 3 deletions
12
src/frontend/staff-portal/src/app/components/error/unauthorized/unauthorized.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, OnInit } from '@angular/core'; | ||
import { ActivatedRoute } from '@angular/router'; | ||
|
||
@Component({ | ||
selector: 'app-unauthorized', | ||
templateUrl: './unauthorized.component.html', | ||
styleUrls: ['./unauthorized.component.scss'] | ||
}) | ||
export class UnauthorizedComponent { | ||
constructor() { | ||
export class UnauthorizedComponent implements OnInit { | ||
application: string; | ||
constructor(private route: ActivatedRoute) { | ||
} | ||
|
||
ngOnInit() { | ||
this.application = this.route.snapshot.queryParamMap.get('application'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters