Hello,
In order to disable the whole row of protected content in listview, I used the SecuredObjectSpaceProvider instead of XPObjectSpaceProvider.
//protected override void CreateDefaultObjectSpaceProvider(CreateCustomObjectSpaceProviderEventArgs args)
//{
// args.ObjectSpaceProvider = new XPObjectSpaceProvider(args.ConnectionString, args.Connection);
//}
protected override void CreateDefaultObjectSpaceProvider(CreateCustomObjectSpaceProviderEventArgs args)
{
args.ObjectSpaceProvider = new SecuredObjectSpaceProvider(
(SecurityStrategy)Security, args.ConnectionString, args.Connection);
}
But now the problem is if the user do not have SecuritySystemObjectPermissionsObject of some object. the calculation should include them will not get the right answer.
Please find the attached screenshot.
Or, Is their other way to hide the entire row of Protected Content in listview?
Thanks
Wangbei