Roles and Authorization

Authorization is based on the existance of UserRoles records defined in the database.

UserRoles fields associated with authorization:

Authorization is used for two functions:

  1. Transaction Authorization - Allowing access to Busines Transactions and FSMs - Handled by BusinessTransactionBase->newBT, which is called by the Dispatcher and FiniteStateMachine.

  2. Detail Screen and Download and Authorization - Allowing access to viewing of detail screens and downloading document files - Handled by UserRoles::hasRole.

Classes involved:

Main entry point from the application

Transaction Authorization

Detail Screen and Download and Authorization

Authorization of file downloads - Handled by Revisions->isDownloadAllowed, which ultimately calls UserRoles->hasRole. DrawingsRevisionsJoinSet calls Revisions->isDownloadAllowed.

RolesAndAuthorization (last edited 2008-04-28 14:45:49 by 10)

Copyright 2008, SoftXS GmbH, Switzerland