Commit graph

14 commits

Author SHA1 Message Date
Bram Kragten
4d939486a9
Fix updating owner user/auth ()
Check if `is_active` is in update msg
2021-05-04 14:26:48 -07:00
Philip Allgaier
bf4e6a289a
Add option to deactivate a user () 2020-11-27 09:13:16 +01:00
Philip Allgaier
82b7cc8ac7
Provide HA username via auth WS () 2020-11-20 15:42:19 +01:00
Bram Kragten
952aa02e37
Add ability to specify group when creating user ()
* Add abbility to specify group when creating user

* Fix tests

* Not default admin and tests
2020-03-30 20:33:43 +02:00
Bas Nijholt
f355570f17 use isort to sort imports according to PEP8 for config () 2019-12-08 22:27:28 +05:30
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
8bfbe3e085
Add update user command ()
* Add update user command

* Add is_admin to current user
2019-03-11 12:08:02 -07:00
Paulus Schoutsen
4f98818258
Rename is_owner decorator to is_admin ()
* Rename is_owner decorator to is_admin

* Update test_auth.py
2018-12-14 10:19:27 +01:00
Paulus Schoutsen
c3b1121d77
Add group foundation ()
Add group foundation
2018-10-08 16:35:38 +02:00
Paulus Schoutsen
4210835dcd Async response all the things ()
* Use async_response

* Update device_registry.py
2018-10-03 07:53:54 +02:00
cdce8p
7f0a50ce31 async_create_task ()
* async_create_task

* Update google.py
2018-10-02 11:03:09 +02:00
Paulus Schoutsen
2e6346ca43 Break up websocket 2 ()
* Break up websocket 2

* Lint+Test

* Lintttt

* Rename
2018-10-01 16:09:31 +02:00
Paulus Schoutsen
22a80cf733
Break up websocket component ()
* Break up websocket component

* Lint
2018-10-01 11:21:00 +02:00
Paulus Schoutsen
70fe463ef0
User management ()
* User management

* Lint

* Fix dict

* Reuse data instance

* OrderedDict all the way
2018-07-13 15:31:20 +02:00