how to control index with different right?

Submitted by zhengfang on Mon, 2010-01-11 18:55.Feature Requests

I have three indexs like index1;index2;index3,so I want to distribution different right to indexs. example:

user A just can use index1;
user B can use index1 and index2

pls help me. TKS!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Submitted by will on Mon, 2010-01-11 19:14.

You are talking about end user, not the index creator, right?

Currently there is no way to tell DBSight who is the current end user. DBSight serves all search requests.

However, this can be easily achieved via some additional servlet filter for access control.

The filter can look at the "indexName" parameter in the URL and find out which index the current user has access to.

Submitted by zhengfang on Mon, 2010-01-11 19:37.

great! I hope dbsight strengthen the implementation of Access Control for end user.

Submitted by will on Mon, 2010-01-11 20:28.

I don't feel DBSight should add this feature, because DBSight is meant to be a generic search platform, and to differentiate "end user" is more of a application specific logic, where each implementation can vary a lot. It's better to leave this to the actual application.