You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2023/07/25 15:12:00 UTC
[jira] [Updated] (RANGER-4328) matching scope SELF_OR_PREFIX doesn't handle few wildcard cases
[ https://issues.apache.org/jira/browse/RANGER-4328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated RANGER-4328:
-------------------------------------
Summary: matching scope SELF_OR_PREFIX doesn't handle few wildcard cases (was: matching scope SELF_OR_PREFIX)
> matching scope SELF_OR_PREFIX doesn't handle few wildcard cases
> ---------------------------------------------------------------
>
> Key: RANGER-4328
> URL: https://issues.apache.org/jira/browse/RANGER-4328
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
>
> RANGER-4165 introduced matching scope SELF_OR_PREFIX to support usecases like:
> * find if a user/group/role has read access in any path/file under directory /dept/hr/
> * find if a user/group/role has select access to any table having name that starts with emp_ under database name hr
> SELF_OR_PREFIX scope matching needs to be updated to handle following cases correctly:
>
> ||Resource||Policy||SELF_OR_PREFIX match?||
> |ab|*c|Yes|
> |ab|a*c|Yes|
> |abcd|a*c|Yes|
> |abcd|a*c*e|Yes|
> |/app/hive|/app/*/test.db|Yes|
> |/app|*/hive/test.db|Yes|
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)