File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ public class Table : IKustoBaseEntity
2020 public string DocString { get ; set ; }
2121 [ Obsolete ( "Use policies instead" ) ]
2222 public string ? RowLevelSecurity { get ; set ; }
23-
23+ [ Obsolete ( "Use policies instead" ) ]
24+ public bool RestrictedViewAccess { get ; set ; } = false ;
25+
2426 public List < DatabaseScriptContainer > CreateScripts ( string name , bool isNew )
2527 {
2628 var scripts = new List < DatabaseScriptContainer > ( ) ;
Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ public void CleanUp(Database database)
7272 policy . RowLevelSecurity = entity . Value . RowLevelSecurity ;
7373 }
7474
75+ policy . RestrictedViewAccess |= entity . Value . RestrictedViewAccess ;
76+
7577 if ( policy . Retention == database . DefaultRetentionAndCache . Retention )
7678 {
7779 policy . Retention = null ;
@@ -110,6 +112,7 @@ public void CleanUp(Database database)
110112 policy . RowLevelSecurity = entity . Value . RowLevelSecurity ;
111113 }
112114
115+
113116 if ( policy . Retention == database . DefaultRetentionAndCache . Retention )
114117 {
115118 policy . Retention = null ;
You can’t perform that action at this time.
0 commit comments