PANTHEON™ manual

 Categories
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Expand]Guides for PANTHEON
 [Collapse]User Manuals for PANTHEON
  [Collapse]User Manual for PANTHEON
   [Collapse]Getting Started
     Dictionary of terms
     First steps with PANTHEON
    [Expand]Using PANTHEON at Tecta, a fictional company
    [Expand]Instructions for Ensuring Compliance of PANTHEON with SAS
    [Expand]PANTHEON Installation
    [Expand]PANTHEON System
    [Expand]PANTHEON Basics
    [Expand]PANTHEON Help
    [Expand]Materials and Goods Movements
    [Expand]Assigning Identifiers
    [Expand]Frequently asked questions about Pantheon (F.A.Q.)
    [Collapse]Archive
     [Expand]PANTHEON Editions
      Installing PANTHEON on Linux and Oracle Database
     [Expand]eDocumentation
     [Expand]eInvoice
     [Expand]Workflow
     [Expand]Backup
     [Collapse]Get.start
      [Expand]Duplicates
       Windows 7
       SQL Server
      [Expand]ODBC
       SQL Server Agent
       Windows Vista
       Slabšanje performans MS-SQL strežnika
      [Collapse]Row Level Security
        How RLS works in practice
        Upgrade
        Database
        Code changes
        Troubleshooting
        ARES - RLS Compatibility Mode
        RLS Questions and Answers
       MS SQL Server Installation
      [Expand]Task Scheduling
       PANTHEON System Environment
      [Expand]Hardware
       Installation types on different network configurations
      [Expand]Datalab Utilities
       Installation
       On-premises installation
       PANTHEON Cloud installation
       Ordering and setting eBusiness services
       One-user installation of PANTHEON Cloud
       Network installation of PANTHEN Cloud
       PANTHEON Client Setup Wizard
     [Expand]To-do
     [Expand]End-User License Agreement
      Introductory word
     [Expand]Referential integrity (RI)
      eExchange
      SMS notifications
   [Expand]User Manual for eBusiness
   [Expand]Settings
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]Service
   [Expand]Help
   [Expand]Personnel
   [Expand]Financials
   [Expand]Analytics
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Expand]PANTHEON Web
[Expand]PANTHEON Granules
[Expand]User Site

Load Time: 687.5111 ms
print   |
Label

Database

              

 

All the objects needed for RLS functionality are created in a predefined order:
SQL Command:

Exec [dbo].[pPA_RLSCreate]

For faster queries, data from t%usersecurity tables is joined with register data and users who have the permissions to access certain data are added to flat tables.

SQL Command:

Exec [dbo].[pPA_RLSFlatTablesPrepare]
Exec [dbo].[pPA_RLSFlatTablesFill]

Flat tables are maintained by triggers on user security tables:
SQL Command:

exec [dbo].[pPA_RLSCreateTriggers]

 

To control the access to data in a row, functions are used and referenced to a table as predicates in a security policy.

RLS (Inline table valued) functions are created for all registers that are controlled by permissions:

SQL Command:

Exec [dbo].[pPA_RLSCreateFunctions]

RLS functions are also used to control data on documents that use these registers. For this purpose, common functions are prepared and used in several security policies as predicates on different tables (tHE_Move, tHE_Order, ...).

 

Security policies are created setting the RLS Functions as predicates on tables:

SQL Command:

Exec [dbo].[pPA_SetRLSFunctionPolicyFill]

 

 



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