Implement functionality to allow me to iterate through groups, and groupfilters. Included in this should be the ability to add or alter groupfilters.
We currently implement row level security by creating a user filter on the column in question which is used to filter, and then applying this as a data source filter, mapping groups to values.
If we then have new values to be filtered on, it is a tedious process to update all of these especially if it is a volatile dimension.
For our use-case we would need the ability to target a group by name, check if the groupfilter expression exists, and if it doesn't exist, add in the new groupfilter expression and groupfilter function.
For example, an example below shows a user filter called "RLS User Filter" which has 5 groups listed within the row level security.
If I then wanted to add an entry for a new group called "group 6", the XML in the group would be updated to include the following groupfilter expression and groupfilter function.
Implement functionality to allow me to iterate through groups, and groupfilters. Included in this should be the ability to add or alter groupfilters.
We currently implement row level security by creating a user filter on the column in question which is used to filter, and then applying this as a data source filter, mapping groups to values.
If we then have new values to be filtered on, it is a tedious process to update all of these especially if it is a volatile dimension.
For our use-case we would need the ability to target a group by name, check if the groupfilter expression exists, and if it doesn't exist, add in the new groupfilter expression and groupfilter function.
For example, an example below shows a user filter called "RLS User Filter" which has 5 groups listed within the row level security.
If I then wanted to add an entry for a new group called "group 6", the XML in the group would be updated to include the following groupfilter expression and groupfilter function.