Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
-
None
Description
Currently the sentryStore in Sentry only supports database structure authorize model such as Hive/Impala, in order to support more components like Solr or other no database authorization
model component. It needs to create a general store to communicate with outside, the structure of privilege model should be hidden. The general store uses interface to transfer the needed information of privilege, the example codes are as following:
public interface PrivilegeReader { public List<? extends Authorizable> getAuthorizables(); public String getAction(); public String getComponent(); public String getService(); public String getScope(); public Boolean withGrantOption(); } public interface Authorizable { public String getName(); public String getTypeName(); }
Attachments
Attachments
Issue Links
- depends upon
-
SENTRY-400 Extending sentry metadata infrastructure to support the generic authorization model
- Resolved
- is depended upon by
-
SENTRY-404 Extending Sentry thrift interface and adding a processor for generic authorization model
- Resolved
- links to