OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.App.Core.Security Namespace Reference

Classes

class  CheckServerAdminTokenAttribute
 attribute for annotation of server functions. Instantiator will check access permissions More...
 
class  RequireModulePermissionAttribute
 attribute for annotation of server functions. Instantiator will check access permissions More...
 
class  TDataBasePetra
 This class provides protection for the database. It is specific to the Petra Database. It uses s_user_table_access_permission to get the permissions for the current user. The database object needs to be created with the constructor from this class, not with TDataBase.Create() More...
 
class  TErrorLog
 Reads and saves entries in the Error Log table. More...
 
class  TLoginLog
 Saves entries in the Login Log table. More...
 
class  TModuleAccessManager
 The TModuleAccessManager class provides provides functions to work with the Module Access Permissions of a Petra DB. More...
 
class  TTableAccessPermissionManager
 The TTableAccessPermissionManager class provides functions to work with the Table Access Permissions of a User of a Petra DB. More...
 
class  TUserAccountActivityLog
 Saves entries in the 'User Account Activity Log' table (s_user_account_activity). More...
 

Enumerations

enum  TTablePermissionEnum {
  eNone , eCanRead = 1 , eCanCreate = 2 , eCanModify = 4 ,
  eCanDelete = 8
}
 is the user allowed to read from or write to the table More...
 

Functions

delegate void TDelegateAddErrorLogEntry (string AErrorCode, string AContext, string AMessageLine1, string AMessageLine2, string AMessageLine3)
 

Enumeration Type Documentation

◆ TTablePermissionEnum

is the user allowed to read from or write to the table

Enumerator
eNone 

no permissions

eCanRead 

can read records

eCanCreate 

can create records

eCanModify 

can modify records

eCanDelete 

can delete records

Function Documentation

◆ TDelegateAddErrorLogEntry()

delegate void Ict.Petra.Server.App.Core.Security.TDelegateAddErrorLogEntry ( string  AErrorCode,
string  AContext,
string  AMessageLine1,
string  AMessageLine2,
string  AMessageLine3 
)