Public Types | Static Public Member Functions | Static Protected Member Functions | List of all members
NAF::Security::PermissionsManager Class Reference

Public Types

using PermissionToLoad = Poco::Tuple< std::string, std::string, std::string, int, std::string, bool, bool >
 

Static Public Member Functions

static std::list< Permission > & get_permissions ()
 
static std::map< std::string, ActionType > & get_action_type_map ()
 
static Query::DatabaseManager::Credentialsget_credentials ()
 
static void LoadPermissions_ ()
 
static std::_List_iterator< PermissionFindPermission_ (Tools::Route &route, int id_user, std::string action_type)
 
static bool VerifyPermission_ (Tools::Route &requested_route, User &user, std::_List_iterator< Permission > found_permission)
 

Static Protected Member Functions

static void FillActionTypeMap_ ()