[pve-devel] [PATCH manager/access-control/proxmox-widget-toolkit v1 0/4] fix #4546: Show warning hint/badge if user account is expiring in next few days

Philipp Hufnagl p.hufnagl at proxmox.com
Fri Sep 22 16:36:54 CEST 2023


Currently, when an user account expires, it catches the users by
surprise. It would be helpful to notify the the user as well as the
administrator.

This patch highlights such accounts in the user account pannel and also
shows for regular user an exclamation mark in the user info pannel. It
also adds in this case a new entry briefly saing that the account
expires. When this entry is clicked it states this in more detail
including the experation date.

Sending this for PVE only now to get feedback before implementing this
for PMG and PBS


Philipp Hufnagl (1):
  fix #4546: ui: notify user if there usser account expires soon

 www/manager6/Workspace.js | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Philipp Hufnagl (1):
  fix #4546: api: Return user expiration date on access/ticket API call

 src/PVE/API2/AccessControl.pm | 8 ++++++++
 src/PVE/AccessControl.pm      | 8 ++++++++
 2 files changed, 16 insertions(+)

Philipp Hufnagl (2):
  fix #4546: css: Inform user administrator about user accounts expiring
    soon
  fix #4546: utils: save expiring date of user account for UI

 src/Utils.js                                    | 9 ++++++++-
 src/css/ext6-pmx.css                            | 4 ++++
 src/proxmox-dark/scss/abstracts/_variables.scss | 2 ++
 src/proxmox-dark/scss/extjs/_menu.scss          | 4 ++++
 src/proxmox-dark/scss/proxmox/_general.scss     | 5 +++++
 5 files changed, 23 insertions(+), 1 deletion(-)

-- 
2.39.2






More information about the pve-devel mailing list