Github user tgravescs commented on the pull request:
https://github.com/apache/spark/pull/1196#issuecomment-47341211
You can't determine the user unless some sort of authentication filter is
in place. the UI returns null in that case. You can't check acls against a
null user so all you can do is assume its either on or off. Since an
authentication filter could choose to not filter all web UI pages, some may
come back with a user and some may not. That is why we assume if there is no
user everyone has access. The only way I would see around that would be to
build in some sort config with a real list. We could also change this
behavior for say CLI interfaces, if we want them to do something different then
the web ui interfaces.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---