Export jobs scheduled by site-secured user roles return data outside of the scope of the site's security

Users that utilize site-security may find that scheduled export jobs return records outside of the scope of site-secured user that scheduled the job.
Download and install the latest patch which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch.

Steps to Duplicate

1. Create or modify an application user to be site-secured. Add sufficient feature-permissions to their role to allow the user to run and schedule exports. (ensure that "Run queries as admin" is not turned on under Feature Permissions > Query)
2. Create an Ad-hoc query that contains constituents from multiple sites, save with the option of "create a selection > dynamic". 
3. Create an Export Definition that exports Constituent Name & Site Name.
4. Create an Export using the the Query and ED from steps 2-3, save with site security using the same site applied to step 1.
5. Run the export as the site-secured user and note the number of records processed. Download the output and verify that the correct site-security has been applied.
6. Schedule the job to run once (a few minutes from now). Note the number of records processed (it should be more than the manual run). Download the output and note that records with sites that should not be visible are in the export.

Environment

 Blackbaud CRM
 4.0
 4.0
 4.10.180.1721
 4.0.172.0

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.