I currently use the 'Setup roles for processing groups' and ‘Applicable legal entities’ to limit users access I Data management. I have setup two procession groups:
The numbers refer to company number. 921_DataUdtræk is setup to company number: 921 and 923_DataUdtræk is setup to company number: 923 in the ‘Applicable legal entities’ setup.
My test user: Testscs is configured to access both processing groups through setup in 'Setup roles for processing groups'.
My security issue is that it is possible to change the query on both data projects and hereby export data from other companies. The data generated from another company than 921 and 923 is accessible through ‘Job history’ > execution details > download file. Users are able to export data from companies which they do not have access to through security configuration i system administration.
How are you dealing with this issue? Is it possible to limit the user access to change the query on the data project?
Best Kasper
Thank you for your input, Andre. I will look into the examples from your blog and try to setup restrictions based on entity access.
Thank you for you input Amith
Hi Kasper.
The screenshots are a bit small to be able to read them. Are you exporting the General Journal Entries? In that case, you would need to apply a security policy as the General Journal Entry (GeneralJournalEntry) and General Journal Account Entry (GeneralJournalAccountEntry) tables are not saving data per legal entity but are a shared table with a Ledger context.
Examples how to create security policies are provided on my blog: Extensible Data Security examples - Secure by legal entity (dynamicspedia.com)
Note that you can extend the examples with the above mentioned tables to restrict access to these tables only.
You can also use the security framework to prevent these users from opening or changing these queries. It might need a form extension first to make the grid control a securable form control object.
I think you can sort this out using the User Role assignment. Just go to System Administration > users, then
assign permission only selected entity, don't forget to do the same thing for System User Role too.
when you do that user won't have access to the LE they don't have access.
André Arnaud de Cal...
292,160
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156