public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin] RM5973 Option to Never Expire a user account is unintuitive
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin] RM5973 Option to Never Expire a user account is unintuitive
@ 2020-12-16 13:10 Rahul Shirsat <[email protected]>
  2020-12-17 06:35 ` Re: [pgAdmin] RM5973 Option to Never Expire a user account is unintuitive Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Rahul Shirsat @ 2020-12-16 13:10 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,

Please find the attached patch which adds more information for letting
users know about the account password expiry for Login/Group Role.

-- 
*Rahul Shirsat*
Senior Software Engineer | EnterpriseDB Corporation.


Attachments:

  [application/octet-stream] RM5973.patch (1.0K, 3-RM5973.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js b/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js
index e92741ba8..8b96053e2 100644
--- a/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js
+++ b/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js
@@ -413,7 +413,9 @@ define('pgadmin.node.role', [
           id: 'rolvaliduntil', readonly: 'readonly', type: 'text',
           group: gettext('Definition'), label: gettext('Account expires'),
           mode: ['properties', 'edit', 'create'], control: 'datetimepicker',
-          deps: ['rolcanlogin'], options: {format: 'YYYY-MM-DD HH:mm:ss Z'},
+          deps: ['rolcanlogin'],
+          placeholder: gettext('No Expiry'),
+          helpMessage: gettext('Please note that if you leave this field blank, then password will never expire.'),
         },{
           id: 'rolconnlimit',  type: 'int', group: gettext('Definition'),
           label: gettext('Connection limit'), cell: 'integer', min : -1,


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin] RM5973 Option to Never Expire a user account is unintuitive
  2020-12-16 13:10 [pgAdmin] RM5973 Option to Never Expire a user account is unintuitive Rahul Shirsat <[email protected]>
@ 2020-12-17 06:35 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2020-12-17 06:35 UTC (permalink / raw)
  To: Rahul Shirsat <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Wed, Dec 16, 2020 at 6:40 PM Rahul Shirsat <
[email protected]> wrote:

> Hi Hackers,
>
> Please find the attached patch which adds more information for letting
> users know about the account password expiry for Login/Group Role.
>
> --
> *Rahul Shirsat*
> Senior Software Engineer | EnterpriseDB Corporation.
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-12-17 06:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 13:10 [pgAdmin] RM5973 Option to Never Expire a user account is unintuitive Rahul Shirsat <[email protected]>
2020-12-17 06:35 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox