You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sam Ruby (JIRA)" <ji...@apache.org> on 2016/03/17 14:10:33 UTC

[jira] [Commented] (INFRA-11470) Unprivileged login for testing

    [ https://issues.apache.org/jira/browse/INFRA-11470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199480#comment-15199480 ] 

Sam Ruby commented on INFRA-11470:
----------------------------------

Alternatives for brainstorming purposes:

The whimsy code currently disables authentication in test environments:

https://github.com/apache/whimsy/blob/master/lib/whimsy/asf/rack.rb#L59

Perhaps an environment variable could be used to force the non-member path?

Or perhaps a query string could be used for this purpose?

Alternately, perhaps applications like the roster application could be "mounted" in two different places in the document root, and force committer-only views if /committer/ is a part of the path?

> Unprivileged login for testing
> ------------------------------
>
>                 Key: INFRA-11470
>                 URL: https://issues.apache.org/jira/browse/INFRA-11470
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: LDAP
>            Reporter: Sebb
>            Priority: Minor
>
> It would be useful to have access to a non-privileged LDAP account for test purposes (e.g. for testing Whimsy authentication).
> I can use my own account for testing functions that require member karma, and I can test both PMC karma and non-PMC karma since I am a member of some PMCs but not all PMCs. However I cannot test functions that should reject those without member karma.
> The account does not need any privileges.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)