diff options
author | 2021-10-14 14:26:04 +0200 | |
---|---|---|
committer | 2021-10-14 14:26:04 +0200 | |
commit | 107685e22e809123a31e6518249d14888767f0fe (patch) | |
tree | 3a46ca8a095f7ec1a0ee65845364b498099b6954 /docs/swagger.go | |
parent | go fmt (#278) (diff) | |
download | gotosocial-107685e22e809123a31e6518249d14888767f0fe.tar.xz |
User password change (#280)
* start passwordChangeHandler
* add user scope
* add user module / api path
* add password change request
* make comment clearer
* add user to processor
* required true
* add processor call to handler
* don't pass tc or channel
* change password func + tests
* add some first docs about password management
* update swagger docs
* add api tests
* go fmt
* test fixes
Diffstat (limited to 'docs/swagger.go')
-rw-r--r-- | docs/swagger.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/swagger.go b/docs/swagger.go index a30700e4d..422a4ac57 100644 --- a/docs/swagger.go +++ b/docs/swagger.go @@ -40,12 +40,14 @@ // read:search: grant read access to searches // read:statuses: grants read access to statuses // read:streaming: grants read access to streaming api +// read:user: grants read access to user-level info // write: grants write access to everything // write:accounts: grants write access to accounts // write:blocks: grants write access to blocks // write:follows: grants write access to follows // write:media: grants write access to media // write:statuses: grants write access to statuses +// write:user: grants write access to user-level info // admin: grants admin access to everything // admin:accounts: grants admin access to accounts // OAuth2 Application: |