[
https://issues.apache.org/jira/browse/TC-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15623493#comment-15623493
]
ASF GitHub Bot commented on TC-14:
----------------------------------
GitHub user mitchell852 opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/25
[TC-14] adds back localUser field to /api/user/current route
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mitchell852/incubator-trafficcontrol tc-14
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/25.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #25
----
commit 9c5caa62a8e8a860e1ac17f6226985c30e486993
Author: Jeremy Mitchell <[email protected]>
Date: 2016-10-31T21:32:26Z
adds back localUser field to /api/user/current route
----
> localUser field was removed from api/1.2/user/current
> -----------------------------------------------------
>
> Key: TC-14
> URL: https://issues.apache.org/jira/browse/TC-14
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops API, Traffic Portal
> Affects Versions: 1.8.0
> Reporter: Jeremy Mitchell
> Assignee: Jeremy Mitchell
> Priority: Minor
> Fix For: 1.8.0
>
>
> the localUser field was removed from the json returned from
> api/1.2/user/current. this field is used to determine if the currently
> authenticated user exists in the database or not. if the user does not exist
> in the database, they are authenticated via ldap and assigned the "read-only"
> role. the traffic portal UI needs this info to display the proper message.
> I.e. "Logged in as read-only user."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)