#3148: [WebUI] Get connect user's auth level and name
------------------------------+---------------------------
Reporter: DjLegolas | Owner:
Type: feature-request | Status: new
Priority: minor | Milestone: 2.0
Component: Web UI | Version: develop (git)
Resolution: | Keywords:
------------------------------+---------------------------
Comment (by Cas):
It might be useful to have exported core methods but you can export custom
methods in the autoadd plugin core, the auth level lookup is actually in
that code already, directly from rpcserver:
{{{
rpcserver = component.get('RPCServer')
session_user = rpcserver.get_session_user()
session_auth_level = rpcserver.get_session_auth_level()
}}}
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3148#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.