-
Notifications
You must be signed in to change notification settings - Fork 6
IOT-46: Time limited access #202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: stage
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<div *ngIf="user"> | ||
<app-top-bar | ||
[data]="user" | ||
[backButton]="backButton" | ||
[subPage]="true" | ||
[addDetailDowndown]="true" | ||
[dropDownButton]="dropdownButton" | ||
[backButton]="backButton" | ||
[canEdit]="canEdit" | ||
[data]="user" | ||
[dropDownButton]="dropdownButton" | ||
[subPage]="true" | ||
></app-top-bar> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
|
@@ -21,6 +21,10 @@ <h3>{{ "USERS.DETAIL.HEADLINE" | translate }}</h3> | |
<strong>{{ "USERS.DETAIL.STATUS" | translate }}</strong | ||
>{{ user.active | activeDeactive }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't we miss a check here? If the user is expired this should show deactivate, shouldn't it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Users are disabled by a service in the backend. So their expiration date is not validated expicitly in the frontend There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sense :) |
||
</p> | ||
<p *ngIf="user.expiresOn"> | ||
<strong>{{ "API-KEY.EXPIRES-ON" | translate }}</strong> | ||
{{ (user.expiresOn) | dateOnly }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can it be done so it doesnt always translate to english? If it's not easy then it might not matter |
||
</p> | ||
<P *ngIf="user.lastLogin; else noLogin"> | ||
<strong>{{ "USERS.DETAIL.LAST-LOGIN" | translate }}</strong | ||
>{{ user?.lastLogin | dkTime }}</P | ||
|
@@ -46,7 +50,7 @@ <h3>{{ "USERS.DETAIL.HEADLINE" | translate }}</h3> | |
<h3 class=""> | ||
{{ "USERS.DETAIL.PERMISSIONS" | translate }} | ||
</h3> | ||
<app-permission-tabel [userId]="user?.id"> </app-permission-tabel> | ||
<app-permission-tabel [userId]="user?.id"></app-permission-tabel> | ||
</div> | ||
</div> | ||
</div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be done so it doesnt always translate to english? If it's not easy then it might not matter