Re: Row-Level security with key as a regex

2018-03-05 Thread Nilkanth Patel
Jens, Thanks for your reply, now i get this. As you said, implementing the required authorization behavior in SecurityManager.authorize() callback is way to go. Thanks, Nilkanth. On Thu, Mar 1, 2018 at 7:32 PM, Jens Deppe wrote: > Hi Nilkanth, > > It's basically up to the provided SecurityManag

Re: Row-Level security with key as a regex

2018-03-01 Thread Jens Deppe
Hi Nilkanth, It's basically up to the provided SecurityManager how to handle the ResourcePermission passed into it. So in your implementation could be as simple as: if (rp.getKey() != null && rp.getKey().contains("system") {...} Are you perhaps looking at a specific SecurityManager implemen