Article Details
Id:10849
Product:finPOWER Connect
Type:NEW
Version:1.06.06
Opened:14/01/2013
Closed:16/01/2013
Released:29/01/2013
Job: J010984

Account Processes; new functionality added to allow processing of filtered out Account

The ability for the finPOWER Connect business layer to internally enter a special mode where 'Administrator' rights as assumed, e.g., so Account Processed can process Accounts that are filtered out for the current User has been added.

The following permission key (denied by default) has been added to allow Account Processes to include Accounts which are filtered out for the User using this new mechanism:

  • AccountProcesses.ProcessAsAdministrator

NOTE: This will not affect any of the Ranges in the Run Account Processes wizard; these will still be filtered as per the Users settings. The Audit record written when running the wizard will however contain an 'ProcessingAsAdministrator' entry.

Any checks against Permission Keys will return True to indicate that the User has permission when processing as Administrator. This is similar to the 'Run As Administrator' flag that can be applied to Script but goes further by affecting more than Permission Key checks as detailed below.

The following finCurrentUserInformation properties and methods will return a blank String when processing as Administrator:

  • FilterAccountSqlWhere
  • FilterAccountArchiveSqlWhere
  • FilterClientSqlWhere
  • FilterSecurityStmtSqlWhere

The following finCurrentUserInformation properties and methods will return False when processing as Administrator:

  • HasFilterAccount
  • HasFilterBranch
  • HasFilterClient
  • HasFilterClientGroup
  • HasFilterEntity
  • HasFilterLedger
  • IsAccountFilteredOut
  • IsAccountFilteredOutPk
  • IsAccountArchiveFilteredOut
  • IsAccountArchiveFilteredOutPk
  • IsClientFilteredOut
  • IsClientFilteredOutPk
  • IsSecurityStmtFilteredOut
  • IsSecurityStmtFilteredOutPk

The following ISCurrentUser properties and methods alter their behavior when processing as Administrator:

  • IsAdministrator will return True
  • UserLevel will return Administrator

NOTE: As a security precaution, whenever a form is opened, a check will be made to ensure that the business layer is no longer in this special mode. If it is, a warning will be given and finPOWER Connect will be closed to prevent any unauthorised access to filtered out data.