Batch is the new Bulk

This commit is contained in:
2020-12-10 19:29:00 +00:00
parent 379673981f
commit 61cc48530a
17 changed files with 70 additions and 206 deletions

View File

@@ -456,12 +456,12 @@ namespace AyaNova.Biz
////////////////////////////////////////////////////////////
//FILEATTACHMENT ADMINISTRATION
//This is not for attachments themselves which are tied to the object they are attached to
//this is for things like maintenance jobs or viewing lists of all attachments in general for bulk ops etc
//this is for things like maintenance jobs or viewing lists of all attachments in general for batch ops etc
// NOTE: Attachments are considered business data and as such are not available to OPS roles
// who are not allowed to see biz data
roles.Add(AyaType.FileAttachment, new BizRoleSet()
{
Change = AuthorizationRoles.BizAdminFull,//Need full rights only here because this is the rights checked for bulk delete etc so it's simpler than checking all the parent object rights if you know they already have all rights
Change = AuthorizationRoles.BizAdminFull,//Need full rights only here because this is the rights checked for batch delete etc so it's simpler than checking all the parent object rights if you know they already have all rights
ReadFullRecord = AuthorizationRoles.BizAdminFull | AuthorizationRoles.BizAdminLimited
});