summaryrefslogtreecommitdiff
path: root/docs/swagger.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-10-14 14:26:04 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-14 14:26:04 +0200
commit107685e22e809123a31e6518249d14888767f0fe (patch)
tree3a46ca8a095f7ec1a0ee65845364b498099b6954 /docs/swagger.go
parentgo fmt (#278) (diff)
downloadgotosocial-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.go2
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: