PANTHEON™ Help

 Toc
 Početna stranica
[Collapse]PANTHEON
 [Collapse]PANTHEON priručnici
  [Expand]Vodič kroz Datalab PANTHEON Farming
  [Expand]Vodič za mobilni POS
  [Expand]Vodič po DataLab PANTHEON™-u
  [Expand]Vodič po PANTHEON Vet
 [Collapse]PANTHEON korisnički priručnici
  [Expand]Korisnički priručnik za DataLab PANTHEON™
  [Expand]Korisnički priručnik za PANTHEON Vet
  [Expand]Korisnički priručnik za PANTHEON maloprodaju
[Collapse]PANTHEON Web
 [Collapse]Vodiči po PANTHEON Web
  [Expand]Vodič po PANTHEON Web Light-u
  [Expand]Vodič za PANTHEON Web Terminal
  [Expand]Arhiva starih proizvoda
  [Expand]Vodič po PANTHEON Web Legal
 [Collapse]Korisnički priručnici za PANTHEON Web
  [Expand]Početak rada s PANTHEON Web-om
  [Expand]Korisnički priručnik za PANTHEON Web Light
  [Expand]Korisnički priručnik za PANTHEON Web Terminal
  [Expand]Korisnički priručnik za PANTHEON Web Legal
  [Expand]Arhiva starih proizvoda
[Collapse]PANTHEON Granule
 [Collapse]Vodič po PANTHEON Granulama
  [Expand]Granule za Servis na terenu
  [Expand]Granula Kadrovi
  [Expand]Granula Putni nalozi
  [Expand]Granula Dokumenti i Zadaci
  [Expand]Granula Kontrolna tabla
  [Expand]Granula B2B narudžbe
  [Expand]Inventar Fiksne Imovine Granula
  [Expand]Inventar Skladišta Granula
 [Collapse]Korisnički priručnik za PANTHEON Granule
   Početak
   Korištenje PANTHEON Granula u imaginarnom poduzeću Tecta
  [Expand]PANTHEON Granule i aktivacija
  [Expand]Granula Kadrovi
  [Expand]Granula Putni nalozi
  [Expand]Granula Dokumenti i zadaci
  [Expand]Granula B2B narudžbe
  [Expand]Granula Nadzorna ploča
  [Expand]Granula Servis na terenu
   Česta pitanja i odgovori
  [Expand]Inventar dugotrajne imovine
  [Expand]Granula Inventura skladišta
   Arhiva

Load Time: 390,6276 ms
"
  6613 | 1 | |
Label


Troubleshooting

             

 

Users with admin rights can modify RLS security on PANTHEON database.

  1. Create Flat Tables, RLS functions and security policies
  2. Drop RLS on database (clear all)
  3. Sample to select all data without checking permissions
  4. Check if RLS is enabled on a PANTHEON database

1. Create Flat Tables, RLS functions and security policies


[dbo].[pPA_RLSCreate]

  1. Create RLS flat tables from script in RLS scheme
    SQL Command:
    Exec [dbo].[pPA_RLSFlatTablesPrepare]
  2. Fill all flat tables (data from t%usersecurity tables to RLS tables)
    SQL Command:
    Exec [dbo].[pPA_RLSFlatTablesFill]
  3. Create all RLS inline table valued functions used in predicates
    SQL Command:
    Exec [dbo].[pPA_RLSCreateFunctions]
  4. Fill data needed to create Security Policies for tables
    SQL Command:
    Exec [dbo].[pPA_SetRLSFunctionPolicyFill]
  5. Create after-insert triggers for changes on t%usersecurity tables
    SQL Command:
    Exec [dbo].[pPA_RLSCreateTriggers]
  6. Enable/disable all policies to apply RLS to database:

SQL Command:
Exec pPA_RLSSecurityPoliciesState 'ON';Exec pPA_RLSSecurityPoliciesState 'OFF';Exec pPA_RLSSecurityPoliciesState 'ON', 'tHE_Move';Exec pPA_RLSSecurityPoliciesState 'OFF', 'tHE_Move';

 

2. Drop RLS on database (clear all)

 

SQL Command: Exec [dbo].[pPA_RLSDrop]

  1. DROP SECURITY POLICY
  2. DROP Function [RLS]
  3. DROP Triggers: exec pPA_RLSCreateTriggers 'F'
  4. DROP table [RLS]
  5. Disable all policies to apply LS to database: Exec pPA_RLSSecurityPoliciesState 'OFF';

 

3. Sample to select all data without checking permissions

 

SQL Command: execute as user = 'RLS_ALL'select * from tHE_Moverevert

 

4. Check if RLS is enabled on a PANTHEON database

 

SQL Command: select * from [dbo].[fPA_RLSEnabled]()

  

     


Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!