This commit is contained in:
2022-06-22 20:35:30 +00:00
parent e140a9cf5b
commit ca607957fa
4 changed files with 160 additions and 2 deletions

View File

@@ -474,8 +474,7 @@ namespace AyaNovaQBI
if (d.ShowDialog() == System.Windows.Forms.DialogResult.Cancel)
return false;
//CHECK ROLE
//must have Accounting full role to use QBI
//ACCOUNTING ROLE?
if (!AyaNovaUserRoles.HasFlag(AuthorizationRoles.Accounting))
{
initErrors.AppendLine($"User must have the \"Accounting\" Role to use QBI\r\n");