Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3276

row level security on multiple fields with * for all

$
0
0

Hi,

 

we want to implement row level security in a universe to accomodate following:

 

* users will only be able to see some entities

* users will see only one group of accounts or all

 

The first thing is easy to overcome and is explained in all kind of fora: you create a table like below

 

UsernameEntitycode
JVDD

BRUZT

JVDDCPHZT
BPOBRUZT
BPOMANZQ
PBKBRUZT
PBKMANZQ
PBKCPHZT
FSC

CPHZT

 

Now as a second level of security people are not allowed to see all Financial accounts in their reports.

We thought on solving this as well through the above security table by adding in a second column.  There are however 15 groups of accounts that should be secured.

For people only having the need to access a single account group (e.g. Revenue = accounts starting with 3), we think that it is still manageable.

 

UsernameEntitycodeAccount
BPOBRUZT3
BPOMANZQ3
FSC

CPHZT

1

 

For people that should see all accounts we think that the table will become much to complicated (due to the number of account groups and the number of entities (>300)) and we would like to replace 'ALL Accounts' with a *

to have a table like this:

 

UsernameEntitycode
Account
JVDDBRUZT*
JVDDCPHZT*
BPOBRUZT3
BPOMANZQ3
PBKCPHZT*
PBKMANZQ*
PBKBRUZT*
FSCCPHZT

1

 

The question now is how we can link the * to all accounts in the join syntax, so that user JVDD can see all accounts without any limitation.

 

Are there other solutions that you see?  Any help is appreciated.


Viewing all articles
Browse latest Browse all 3276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>