Problem description: modifying Security in application workspace not possible if version control is enabled
In case version control is enabled, it is not possible anymore to create new Security roles, new Duties, copy Duties, delete Duties through the Dynamics AX application workspace. You always have to open a development workspace and have access to the AOT.
Solution: disable check on version control
…
boolean rootSelected, atLeastOneNodeSelected;
// BGN to allow user to create security duties through GUI in case version control is on
//if (SysSecHelper::isVersionControlOn() || !treeControl)
//{
// return [false, false, false, false, false, false];
//}
if (!treeControl)
{
return [false, false, false, false, false, false];
}
// END
idx = treeControl.getFirstSelected();
...
Form SysSecRolesEditTasks, method init:
...
refreshSingleSecurityButton.visible(true);
}
// BGN
// to allow user to create security roles through GUI
// in case version control is on
//
//if (SysSecHelper::isVersionControlOn())
//{
// this.enableReadOnlyMode();
//}
//else
//{
// roleName.viewEditMode(ViewEditMode::Edit);
// roleDescription.viewEditMode(ViewEditMode::Edit);
//}
roleName.viewEditMode(ViewEditMode::Edit);
roleDescription.viewEditMode(ViewEditMode::Edit);
// END
sysTreeControl = new SysSecTreeControl(this as Object);
...
Very nice blog..glad to read this.
Such a great articles in my carrier, It's wonderful commands like easiest understand words of knowledge in information's.
Digital Marketing Course in Chennai
Visit here
Thanks for sharing valuable Information, I really very impressive on your blog. I hope you continue on blogging job.
Mobile App Development Company in Noida
Post a Comment