This commit is contained in:
@@ -1042,6 +1042,17 @@ namespace AyaNova.Biz
|
||||
| AuthorizationRoles.OpsAdmin,
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//INTEGRATION - note this is for the management UI
|
||||
//for *all* integrations. Separately, each integration app
|
||||
//will have it's own authorization system
|
||||
//
|
||||
roles.Add(AyaType.Integration, new BizRoleSet()
|
||||
{
|
||||
Change = AuthorizationRoles.BizAdmin,
|
||||
ReadFullRecord = AuthorizationRoles.BizAdminRestricted
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
#endregion all roles init
|
||||
|
||||
@@ -1056,9 +1067,9 @@ namespace AyaNova.Biz
|
||||
|
||||
//GENERATE CLIENT COMPATIBLE JSON FROM ROLES OUTPUT TO DEBUG LOG
|
||||
//And seperately, set the JSON variable so can copy from debug variable "value" property for lastRoles here to compare
|
||||
// string json = Newtonsoft.Json.JsonConvert.SerializeObject(roles, Newtonsoft.Json.Formatting.None);
|
||||
// System.Diagnostics.Debugger.Log(1, "JSONFRAGMENTFORCLIENT", "BizRoles.cs -> biz-role-rights.js Client roles JSON fragment:\n\n");
|
||||
// System.Diagnostics.Debugger.Log(1, "JSONFRAGMENTFORCLIENT", json + "\n\n");
|
||||
string json = Newtonsoft.Json.JsonConvert.SerializeObject(roles, Newtonsoft.Json.Formatting.None);
|
||||
System.Diagnostics.Debugger.Log(1, "JSONFRAGMENTFORCLIENT", "BizRoles.cs -> biz-role-rights.js Client roles JSON fragment:\n\n");
|
||||
System.Diagnostics.Debugger.Log(1, "JSONFRAGMENTFORCLIENT", json + "\n\n");
|
||||
|
||||
//ONGOING VALIDATION TO CATCH MISMATCH WHEN NEW ROLES ADDED (wont' catch changes to existing unfortunately)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user