From a7e40bed8872e14da55676527e897cb56706610c Mon Sep 17 00:00:00 2001 From: David Date: Mon, 13 Jun 2016 10:34:16 +0800 Subject: [PATCH 1/2] Add powerlevel name to value list --- specification/client_server_api.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/client_server_api.rst b/specification/client_server_api.rst index 6ae6a137..717a79bc 100644 --- a/specification/client_server_api.rst +++ b/specification/client_server_api.rst @@ -962,6 +962,14 @@ The keys contained in ``m.room.power_levels`` determine the levels required for certain operations such as kicking, banning and sending state events. See `m.room.power_levels`_ for more information. +A standard mapping between powerlevel Names and Values has evolved with the following mapping +- 0 User +- 50 Moderator +- 100 Admin + +These names are used for convenience and clarity within most User Interfaces + + Joining rooms ~~~~~~~~~~~~~ Users need to be a member of a room in order to send and receive events in that From 92bb1c1b43933d82cb7fdd0cad6cb252b924b1c7 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 13 Jun 2016 22:59:52 +0800 Subject: [PATCH 2/2] Update wording as per request from richvdh --- specification/client_server_api.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/client_server_api.rst b/specification/client_server_api.rst index 717a79bc..300f1dd6 100644 --- a/specification/client_server_api.rst +++ b/specification/client_server_api.rst @@ -962,13 +962,11 @@ The keys contained in ``m.room.power_levels`` determine the levels required for certain operations such as kicking, banning and sending state events. See `m.room.power_levels`_ for more information. -A standard mapping between powerlevel Names and Values has evolved with the following mapping +Clients may wish to assign names to particular power levels. A suggested mapping is as follows: - 0 User - 50 Moderator - 100 Admin -These names are used for convenience and clarity within most User Interfaces - Joining rooms ~~~~~~~~~~~~~