Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
95 views

There is this table "customer" and it has "is_deleted" column. I did to use it for soft deletetion. And I set policy like below so that I don't have to add is_deleted = false ...
jooyeon yi's user avatar
3 votes
1 answer
711 views

I am currently experimenting with adopting PostgreSQL row-level security for a server-side application in Laravel. My goal is to move multi-tenancy access rights into the DB, so as to completely ...
Patrick Johnmeyer's user avatar
0 votes
1 answer
232 views

I like using a separate table to manage RLS permissions, but normalization creates a challenge when inserting new data. The general idea is that no access control logic is built into the items table, (...
cazzer's user avatar
  • 1,755
1 vote
1 answer
160 views

Need to find a solution by which data in powerbi report is displayed absed on user's role in react app, RLS is handled in powerbi but is there any other way? I tried implementing RLS(Row Level ...
Shraddha Yadav's user avatar
1 vote
1 answer
586 views

I have an existing API connected to an AWS PostgreSQL database that uses AWS Cognito for User authentication. The goal is for users to insert data via the API with some field mapped to their Cognito ...
Kival M's user avatar
  • 192
0 votes
0 answers
158 views

I have a problem with SELECT when granting permission for the role. I need to create a Customer role with the privilege to SELECT from 2 tables. And then I need to create a personalized role for one ...
Kris's user avatar
  • 25
1 vote
1 answer
136 views

I have published my .pbix, it works great, speed is fine. I consume from SSAS. Now, I have introduced some RLS security and for people accessing with limited permissions, it is awfully slow… How can I ...
Chicago1988's user avatar
-3 votes
1 answer
868 views

I need to check whether row-level-security applies to the current_user in a Postgres query. As far as I can tell, I need to check whether the current user is the owner of that table, or has the ...
Bergi's user avatar
  • 671k
0 votes
0 answers
894 views

Manage Roles option under Modeling menu in power bi desktop getting greyed out when we use "Connect live" method to get data from analysis service for the report. It is available when we use ...
Thamarai Selvan's user avatar
0 votes
1 answer
2k views

I'm making a basic chat app using supabase. I've figured out how to make it so users can only create/edit their profile and send messages from their profile using RLS, by checking if their id matches ...
Anton's user avatar
  • 821
0 votes
1 answer
1k views

I have a database which is shared amongst multiple tenants/users. However, I want to add row-level-security protection so that any given tenant can only see those rows that belong to them. As such, ...
Fabian Svensson's user avatar
6 votes
1 answer
3k views

From the Postgres CREATE POLICY documentation: UPDATE policies accept both a USING expression and a WITH CHECK expression. The USING expression determines which records the UPDATE command will see to ...
Christiaan Westerbeek's user avatar
2 votes
0 answers
222 views

I wanted a work-around for the PostgreSQL limitation (Hide unrelated schema/tables structure for a user). I decided to go with the Row-Level-Security(RLS). The RLS seems working as expected for the ...
utalmighty's user avatar
-1 votes
1 answer
666 views

I have integrated power-bi service(App Owns Data/service principle way) in my react.js App. Further I want to integrate RLS(Row Level Security) in the same. As mentioned in power-bi docs it is ...
Pavan Karnalkar's user avatar
0 votes
1 answer
188 views

I am using RLS in SSAS and it works fine: I filter the table Project... Therefore, if a certain group has access only to Project X. They only see that. (I use visuals in POWER BI that use a mix of ...
Chicago1988's user avatar
3 votes
0 answers
60 views

I have a postgres table which has a policy enforced on it, like so (extra columns redacted for brevity): create table live_specs ( catalog_name catalog_name not null, spec_type ...
Mahdi Dibaiee's user avatar
0 votes
2 answers
32 views

I am trying to create a row security level over my table for the user department CREATE TABLE Student_Table ( Title varchar(10) NULL, DateofBirth DATE NULL, BF1 varchar(10) NULL, ...
Naomi N 22's user avatar
1 vote
1 answer
819 views

The general setup of my RLS is that I have a table like Orders: OrderID Customer 1 John 2 Bill And a table, RowLevelSecurityPermissions, that tracks which principal is allowed to see ...
flackoverstow's user avatar
0 votes
1 answer
189 views

Current code which checks current logged in user's name against Logon column. End goal being to find all rows of Customer_SK associated with that user. VALUESrow is a measure finding all those SK ...
bortplates's user avatar
0 votes
0 answers
31 views

I want to expose a user/accounts table via an API and secure it on the PostgreSQL level. Using row-level security has worked great for my other tables, but on the accounts table I have some data that ...
Tom's user avatar
  • 2,923
0 votes
1 answer
376 views

I am not sure how to model this. I have 3 tables. Fact Contract Clients Fact: Then, the access with RLS will be based on contract. If you are manager1 or manager2 for that contract you shall see it (...
Chicago1988's user avatar
0 votes
2 answers
638 views

I have a Azure Synapse SQL table which contains a list of companies. I have created an access matrix, security predicate and policy to filter data presented based on the user. Create FUNCTION spf....
user774952's user avatar
0 votes
3 answers
338 views

I have a Azure SQL server and 3 security groups on Azure AD who are added as external users in Azure SQL. The Azure SQL has a filter predicate based upon the security group that the logged in user ...
Mangésh Méhendalé's user avatar
2 votes
1 answer
5k views

I have looked at various solutions on StackOverflow, github issues in supabase, supabase/postgrest-js, postgRESTPostgREST/postgrest, and searched the Discord as well. But none of the solutions have ...
Scott Yu's user avatar
  • 165
3 votes
3 answers
3k views

I just learned about RLS and wish to write a web application with a very small server layer (no server layer, if possible). I'm building a social media web application in particular. I have a scenario:...
klinetic12's user avatar

1 2
3
4 5
9