mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Elasticsearch: ACLs are not respected in search results #3519
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#3519
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dawid-zaroda on GitHub (Jan 22, 2019).
Issue
When user haven't access to record, it will be still visible in search results from Elasticsearch, with all data shown on results list.
Expected Behavior
Displaying search result should respect ACLs and filter results if user shouldn't access them.
Actual Behavior
System doesn't filter results.
Steps to Reproduce
Your Environment
@pgorod commented on GitHub (Jan 22, 2019):
It seems the same thing happens on Advanced Search:
https://suitecrm.com/suitecrm/forum/developer-help/21561-document-revisions-still-showing-in-global-search-although-documents-module-is-restricted
@fosullivan-usam commented on GitHub (Apr 29, 2020):
I can confirm that this issue happens with ElasticSearch, even in SuiteCRM 7.11.13. It does NOT happen with Basic or Advanced searches.
Users in a Security Group with limited access to records can see all the ListView columns of all Accounts, Contacts, Opportunities, and Notes records. When they click on the name of any record, they are (correctly) presented with a page that says, "You do not have access to this area. Contact your site administrator to obtain access. Redirect to Home in 3 seconds"
I have had to turn-off ElasticSearch until this issue is fixed.