Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0c77f45

Browse files
author
Exybore
committed
Added : /users/{username}/permissions
1 parent 1b2a9fe commit 0c77f45

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 🕓 Change log
22

3+
## Added : /users/{username}/permissions
4+
5+
**January 5, 2018 :** added the possibility to edit user's permissions. [Details](users/Endpoint.md#edit-users-permissions)
6+
37
## Added : `USER_WRITE` and `BLOG_WRITE` permissions
48

59
**January 5, 2018 :** updated permissions list to add these two permissions. [Details](users/Permissions.md)

‎users/Endpoint.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Response :
2424

2525
PATCH /users/{username}
2626

27-
**Require auth.**
27+
**Requires auth.**
2828

2929
Request body :
3030

@@ -34,3 +34,13 @@ Request body :
3434
- `biography`: String, biography
3535
- `location` : String, location
3636
- `socials` : List of dicts, social networks of the user
37+
38+
## Edit user's permissions
39+
40+
PATCH /users/{username}/permissions
41+
42+
**Requires auth and `USER_WRITE` permission.**
43+
44+
Request body :
45+
46+
- `permissions` : List, all the permissiosn granted to the user

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /