You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2015/12/16 00:44:46 UTC

[jira] [Resolved] (FC-130) Add permission search that uses substring filters

     [ https://issues.apache.org/jira/browse/FC-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn McKinney resolved FC-130.
-------------------------------
    Resolution: Fixed

The new code has been added.  Need junit test cases to verify.

> Add permission search that uses substring filters
> -------------------------------------------------
>
>                 Key: FC-130
>                 URL: https://issues.apache.org/jira/browse/FC-130
>             Project: FORTRESS
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-RC40
>            Reporter: Shawn McKinney
>             Fix For: 1.0.0-RC41
>
>
> 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 <cl...@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" <cl...@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?



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