mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-01 16:04:55 +00:00
wsd: support per-user links and commands
userextrainfo is a json array that contains extra user-specific links. Currently 'avatar' is assumed to hold the image url for the user's avatar. 'mail' and other links can also be added. Change-Id: I37c4c68bfa0b7ee659e017b4867dcb8cf5c2ca2f Reviewed-on: https://gerrit.libreoffice.org/38120 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:

committed by
Ashod Nakashian

parent
66a3e1c273
commit
da2d3cbc92
@ -152,6 +152,9 @@ protected:
|
||||
/// Name of the user to whom the session belongs to
|
||||
std::string _userName;
|
||||
|
||||
/// Extra info per user, mostly mail, avatar, links, etc.
|
||||
std::string _userExtraInfo;
|
||||
|
||||
/// Language for the document based on what the user has in the UI.
|
||||
std::string _lang;
|
||||
};
|
||||
|
Reference in New Issue
Block a user