This commit is contained in:
2020-06-26 21:28:49 +00:00
parent 12773f8edf
commit 9952d29ba0
2 changed files with 14 additions and 1 deletions

2
.vscode/launch.json vendored
View File

@@ -45,7 +45,7 @@
//"AYANOVA_LOG_LEVEL": "Debug",
"AYANOVA_DEFAULT_TRANSLATION": "en",
//TRANSLATION MUST BE en for Integration TESTING
"AYANOVA_PERMANENTLY_ERASE_DATABASE": "true",
//"AYANOVA_PERMANENTLY_ERASE_DATABASE": "true",
"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;",
"AYANOVA_USE_URLS": "http://*:7575;",
"AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles",

View File

@@ -426,6 +426,19 @@ 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
// 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,
ReadFullRecord = AuthorizationRoles.BizAdminFull | AuthorizationRoles.BizAdminLimited
});
////////////////////////////////////////////////////////////
//OPERATIONS / JOBS
//Only opsfull can change operations