cancel
Showing results for 
Search instead for 
Did you mean: 

Search restrictions aren't applied

former_member672599
Discoverer
0 Kudos

Hello everyone, Is there any configuration or parametring that disables flexible search restrictions, because I have a weird problem in My Company space when accessing the list of users, usergroups or permissions I always get all the data I have in my DB, without applying any filter or whatsoever. I checked the accelerator and didn't find that problem and verified this in another project and it works as it should be, so my guessing is that we missed a configuration or something like that when we set up our project maybe !

I will be thankful for any idea 🙂

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member672599
Discoverer
0 Kudos

Sorry didn't see your answer earlier. Actually I found the source of problem and it was stupid kind of... The problem was that for some reason someone of the team needed to disable the search restriction in the LoginPageController and he accidentally forgot the enable afterwards so I just fixed that and it worked ! Thank you anyway for your time I appreciate it

former_member620692
Active Contributor
0 Kudos

You are most welcome.

former_member620692
Active Contributor
0 Kudos

Please put the following configurations in local.properties, restart the server and try again:

 # restriction handling (true/false)
 
 restrictions.enabled=true
 
 # apply restrictions to relation attributes too
 # note that this can have impact on your system performance
 
 relation.restrictions.enabled=true
 
 #
 # Flag to determine if the search restrictions will be created for a customer group
 #
 customerreview.searchrestrictions.create=true