https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/2018/testReport/junit/org.apache.solr.security/BaseTestRuleBasedAuthorizationPlugin/testBasicPermissions/

Also, see: http://fucit.org/solr-jenkins-reports/suspicious-failure-report.html

>From the failure, it looks like it's related to the "all" permission
not getting picked up:

from the test >>>

setUserRole("cio", "su");
addPermission("all", "su");

checkRules(Map.of("resource", ReplicationHandler.PATH,
    "httpMethod", "POST",
    "userPrincipal", "tim",
    "handler", new ReplicationHandler(),
    "collectionRequests", singletonList(new CollectionRequest("mycoll")) )
    , FORBIDDEN);
<<<
As far as I can tell, that check is relying on the request to match
the "all" permission which is only granted to users in the "su" role.

I can dig into this as I'm working on SOLR-13900 but maybe somebody
has some idea what might have changed recently that could affect the
"all" permission?

Cheers,
Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org

Reply via email to