Currently View::getOwner() and other APIs return a string "user@somehost/somepath" for remote users. This doesn't directly help telling whether a user is local or remote.
The API needs to be deprecated and replaced with a method that returns a IUser object.
For remote users I suggest providing a new interface IRemoteUser to be able to identify these.
Implementors might need to deny access to methods like changing the passwords, etc.
Maybe in some cases the implementor could even retrieve information from the address book.
It would also fit well with retrieving remote avatars, if we want to do it on the same object.
@DeepDiver1975 @jvillafanez @butonic @VicDeo
Currently View::getOwner() and other APIs return a string "user@somehost/somepath" for remote users. This doesn't directly help telling whether a user is local or remote.
The API needs to be deprecated and replaced with a method that returns a
IUserobject.For remote users I suggest providing a new interface
IRemoteUserto be able to identify these.Implementors might need to deny access to methods like changing the passwords, etc.
Maybe in some cases the implementor could even retrieve information from the address book.
It would also fit well with retrieving remote avatars, if we want to do it on the same object.
@DeepDiver1975 @jvillafanez @butonic @VicDeo