•  
      request #8651 FullTextSearch and wiki: only for project admin
    Infos
    #8651
    Manuel Vacelet (vaceletm)
    2019-03-18 17:22
    2015-12-02 15:50
    8190
    Details
    FullTextSearch and wiki: only for project admin

    For some reasons wiki pages are indexed with permissions only for admins when the project is private:

    Test done with project "MV Valid 8.9" on https://c6.valid.enalean.com
    
    When I'm searching as project admin everything works just fine but as a project member it fails
    
    $ curl 127.0.0.1:9200/wiki/284/_search?q=new\&fields=page_name,permissions\&pretty
    {
      "took" : 2,
      "timed_out" : false,
      "_shards" : {
        "total" : 1,
        "successful" : 1,
        "failed" : 0
      },
      "hits" : {
        "total" : 4,
        "max_score" : 0.5079906,
        "hits" : [ {
          "_index" : "wiki",
          "_type" : "284",
          "_id" : "22527",
          "_score" : 0.5079906,
          "fields" : {
            "permissions" : [ "@mv-valid-8-9_project_admin", "@mv-valid-8-9_wiki_admin" ],
            "page_name" : [ "new-page" ]
          }
        }, {
          "_index" : "wiki",
          "_type" : "284",
          "_id" : "22266",
          "_score" : 0.2073863,
          "fields" : {
            "permissions" : [ "@mv-valid-8-9_project_admin", "@mv-valid-8-9_wiki_admin" ],
            "page_name" : [ "AnalyseAccessLogSqlPlugin" ]
          }
        }, {
          "_index" : "wiki",
          "_type" : "284",
          "_id" : "22166",
          "_score" : 0.1693302,
          "fields" : {
            "permissions" : [ "@mv-valid-8-9_project_admin", "@mv-valid-8-9_wiki_admin" ],
            "page_name" : [ "UpLoadPlugin" ]
          }
        }, {
          "_index" : "wiki",
          "_type" : "284",
          "_id" : "22287",
          "_score" : 0.0846651,
          "fields" : {
            "permissions" : [ "@mv-valid-8-9_project_admin", "@mv-valid-8-9_wiki_admin" ],
            "page_name" : [ "PagePermissions" ]
          }
        } ]
      }
    }

     

    Empty
    Full text search
    8.8
    Empty
    Empty
    Stage
    Empty
    Declined
    2019-03-18
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups

    • User avatar
      FTS plugin has been removed, see request #13110.

      • Status changed from New to Declined
      • Close date set to 2019-03-18
    • User avatar
      • Original Submission
      • Category set to Full text search
      • Reported in version set to 8.8
    • User avatar
      • Original Submission