Skip to content

API for remote users / federated users #25815

Description

@PVince81

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions