I believe that you are referring to
page 9817 "Permission Sets FactBox"
{
Caption = 'Permission Sets';
but you have just pasted a snippet without the object number.
Within this factbox page there is a conditional style expression unfavorable (red) defined. See below
field(PermissionSet; "Role ID")
{
ApplicationArea = Basic, Suite;
Caption = 'Permission Set';
ToolTip = 'Specifies the ID of a security role that has been assigned to this Windows login in the current database.';
Style = Unfavorable;
StyleExpr = PermissionSetNotFound;
}
And PermissionSetNotFound is populated as per the following for every record
trigger OnAfterGetRecord()
var
AggregatePermissionSet: Record "Aggregate Permission Set";
begin
if User."User Name" <> '' then
CurrPage.Caption := User."User Name";
PermissionSetNotFound := false;
if not (Rec."Role ID" in ['SUPER', 'SECURITY']) then
PermissionSetNotFound := not AggregatePermissionSet.Get(Rec.Scope, Rec."App ID", Rec."Role ID");
end;
This means that the above permission sets are not found for that specific scope, extension ID and role ID.