powerdns-admin/powerdnsadmin/models
Dominic Zöller 6f12b783a8 models.user: get_accounts(): order by name
The order of account names returned by User.get_accounts() affects the
order account names are displyed in on /domain/add if the current user
neither has the Administrator role nor the Operator role and the
`allow_user_create_domain` setting is enabled at the same time.

If the current user does have the Administrator or Operator role,
routes.domain.add() already returns accounts ordered by name, so this
change makes it consistent.
2021-12-04 16:09:15 +01:00
..
__init__.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
account_user.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
account.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
api_key_account.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
api_key.py Use secrets module for generating new API keys and passwords 2021-12-04 16:08:07 +01:00
base.py Refactoring the code 2019-12-02 10:32:03 +07:00
domain_setting.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
domain_template_record.py Fix logging in models 2020-01-29 22:18:15 +07:00
domain_template.py Refactoring the code 2019-12-02 10:32:03 +07:00
domain_user.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
domain.py Provision PDA user privileges based On LDAP Attributes (#980) 2021-08-05 19:37:48 +02:00
history.py History Tab Overhaul & Domain Record Modifications Changelog (#1042) 2021-11-30 11:02:37 +02:00
record_entry.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
record.py Replace [ZONE] placeholder with domain_name (#960) 2021-10-30 21:24:16 +02:00
role.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
server.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
setting.py History Tab Overhaul & Domain Record Modifications Changelog (#1042) 2021-11-30 11:02:37 +02:00
user.py models.user: get_accounts(): order by name 2021-12-04 16:09:15 +01:00