Madhan Neethiraj created RANGER-4328:
----------------------------------------
Summary: matching scope SELF_OR_PREFIX
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
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)