Security (aka Permissions) and Lucene - How ? Should it be done? -


Before I have some background for my question.

  • Individual entities can read permissions.
  • If a user fails to read permission checks, they can not see that example.

This issue is related to presenting Lusen and doing a search that just returns a list of mailing institution examples, then my code needs to be filmed by one institution one by one The approach is extremely inefficient because the situation exists that the user can only see a minority minority and many people try to return to the less than ideal.

What approach or developers will solve this problem - keeping in mind that sequencing and searches are done using Lusen?

Edit

Definitions

  • A user may belong to several groups .
  • There can be several groups in one role - they can change.
  • There is a role in a permission - (unconscious).
  • may be allowed to read X.
  • It is possible to define the role of changing at any time.

Index

  • The index is out of sync as a result of adding a group of groups (extension of a permission) at time. When there is a list of member groups for a role change.
  • Whenever there is a definition of change in permissions / role, I still hope to avoid being reindex X.

to allow

  • To allow permission, the user must belong to a group that is grouped under group The role related to the given permission is related.

It depends on the number of different security groups that are relevant in your context and How Security Affects Your Indexing Information

We had an issue that solved the following kind: When we add the indexed group to the document and when we add a boolean query to the groups while searching, the user is a member. It performed well in our scenario.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -