-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security Bug Fixes #7215
Merged
npsp-reedestockton
merged 37 commits into
feature/248
from
feature/248__security-bug-fixes
Nov 16, 2023
Merged
Security Bug Fixes #7215
Changes from 28 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
35b0382
Add CRUD/FLS checks
npsp-reedestockton 93e7521
Exclude 'npe03' and '__r' from queryFields
npsp-reedestockton c77c878
Fix logic for applying UTIL_Namespace.StrTokenNSPrefix()
npsp-reedestockton febbb83
Change exception class to UTIL_Permissions.InsufficientPermissionExce…
npsp-reedestockton b663013
Add update check for Opportunity Name
npsp-reedestockton a51cd13
Change exception class to UTIL_Permissions.InsufficientPermissionExce…
npsp-reedestockton 0d64cfd
Refactor try/catch block
npsp-reedestockton 4c007ee
Check security on Data Import and Form Template
npsp-reedestockton a76dee9
Fix broken test and aurahandled message
npsp-reedestockton 35e9e25
Refactor try/catch logic
npsp-reedestockton a2c516a
Remove AuraEnabled notation from deleteFormTemplates()
npsp-reedestockton bd46c61
Refactor/Move code
npsp-reedestockton 6f7f36a
Refactor canUpsertDataImport()
npsp-reedestockton 7a57eaa
Refactor and add comments.
npsp-reedestockton 8182dd7
Add FLS and refactor.
npsp-reedestockton 19675e5
Add FLS and refactor.
npsp-reedestockton f422dd2
Add FLS for CampaignMember.Status
npsp-reedestockton f98e9d7
Add FLS for queries and check CRUD for deletes
npsp-reedestockton a6b6eca
Check isMergeable and strip inaccessible fields from search results.
npsp-reedestockton 0dc6a96
Add Opportunity fields to required and call check hasFeatureAccess
npsp-reedestockton ea2a4b9
Fix unit tests / set hasFeatureAccess true
npsp-reedestockton 96a2464
Add OCR read, modify and delete to hasAccess. Check hasAccess in save().
npsp-reedestockton 454e70c
Add hasAccess check to controller and page
npsp-reedestockton 82d6a0c
Revert unnecessary changes...
npsp-reedestockton 626ebad
Fix access checks
npsp-reedestockton 917b6a9
Fix access checks
npsp-reedestockton c1e144d
Prevent page access without read access to basic lead fields
npsp-reedestockton 636dc39
Fix failing HH_ManageHH_Test.testNewHHObject()
npsp-reedestockton 8c4f932
Check for AuraHandledErrorMessage in shouldNotReturnPauseDataWhenUser…
npsp-reedestockton 81f86c3
Merge 8c4f932b356cfcded2fdf7de6d4afebdd1ae4d8f into feature/248__secu…
salesforce-org-metaci[bot] a3b24f2
Check for standard Level__c field creation permission
npsp-reedestockton 6e52c17
Remove fields to check from hasFieldReadAccess()
npsp-reedestockton cb4557e
Remove Undeliverable__c from fields to check for Address read access
npsp-reedestockton e122060
Add permissions check for CampaignMemberStatus
npsp-reedestockton 1a05e57
Remove @TestVisible annotation
npsp-reedestockton 2245fbf
Fix copy/paste error resulting in bad build
npsp-reedestockton d8ff2e9
Merge pull request #7216 from SalesforceFoundation/feature/248__secur…
npsp-reedestockton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undeliverable__c is relatively new, so I believe we should remove it from the access check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree