-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #757 from StefanMaron/BugfixesForIndirectPermissions
Bugfixes for indirect permissions
- Loading branch information
Showing
6 changed files
with
83 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
BusinessCentral.LinterCop.Test/TestCases/Rule0068/NoDiagnostic/IntegerTable.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
codeunit 50000 MyCodeunit | ||
{ | ||
trigger OnRun() | ||
var | ||
Integer: Record Integer; | ||
begin | ||
[|Integer.FindFirst();|] | ||
end; | ||
} | ||
|
2 changes: 1 addition & 1 deletion
2
...terCop.Test/TestCases/Rule0068/NoDiagnostic/ProcedureCallsInherentPermissionsAttribute.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...essCentral.LinterCop.Test/TestCases/Rule0068/NoDiagnostic/XMLPortWithTableElementProps.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
xmlport 50000 MyXmlport | ||
{ | ||
Direction = Import; | ||
|
||
schema | ||
{ | ||
textelement(NodeName1) | ||
{ | ||
[|tableelement(NodeName2; MyTable)|] | ||
{ | ||
AutoReplace = false; // modify permissions | ||
AutoSave = false; // insert permissions | ||
AutoUpdate = false; //modify permissions | ||
|
||
fieldattribute(NodeName3; NodeName2.MyField) | ||
{ | ||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
table 50000 MyTable | ||
{ | ||
Caption = '', Locked = true; | ||
|
||
fields | ||
{ | ||
field(1; MyField; Integer) | ||
{ | ||
Caption = '', Locked = true; | ||
DataClassification = ToBeClassified; | ||
} | ||
field(2; MyField2; Integer) | ||
{ | ||
Caption = '', Locked = true; | ||
DataClassification = ToBeClassified; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters