Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-130

Add permission search that uses substring filters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-RC40
    • 1.0.0-RC42
    • None

    Description

      Per Chris Pike, need a permission search that will:

      1. return record if any part of the perm object matches the search criteria.
      or
      2. return record if any part of the perm op matches the search criteria.

      Here is except from original email:

      On Dec 15, 2015, at 1:04 PM, Chris Pike <clp207@psu.edu> wrote:

      I dug into the method and determined the problem. It was not searching how I envisioned. I went ahead and added a new method "findAnyPermissions" to the review manager that searches any part of the string and does an OR between obj and op. I created a pull request in github

      https://github.com/apache/directory-fortress-core/pull/2

      Let me know what you think

      ----- Original Message -----
      From: "Chris Pike" <clp207@psu.edu>
      To: fortress@directory.apache.org
      Sent: Tuesday, December 15, 2015 11:39:55 AM
      Subject: Re: Retrieving Role Permissions

      Ok, another API question, I'm trying to search for permissions using the reviewManager "findPermissions" method, but am never getting any results returned. Any ideas?

      Attachments

        Activity

          People

            Unassigned Unassigned
            smckinney Shawn McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: