tdaq-develop-2025-02-12
|
Public Member Functions | |
RequestUserInfo (const std::string &requestType, const std::string &cookieCode) | |
bool | setGroupPermissionLevels (const std::string &groupPermissionLevelsString) |
end setGroupPermissionLevels() More... | |
const std::map< std::string, WebUsers::permissionLevel_t > & | getGroupPermissionLevels () const |
const WebUsers::permissionLevel_t & | getGroupPermissionLevel () |
bool | isInactive () const |
bool | isAdmin () const |
Public Attributes | |
const std::string & | requestType_ |
std::string | cookieCode_ |
bool | automatedCommand_ |
bool | NonXMLRequestType_ |
bool | NoXmlWhiteSpace_ |
bool | checkLock_ |
bool | requireLock_ |
bool | allowNoUser_ |
bool | requireSecurity_ |
std::set< std::string > | groupsAllowed_ |
std::set< std::string > | groupsDisallowed_ |
WebUsers::permissionLevel_t | permissionLevel_ |
WebUsers::permissionLevel_t | permissionsThreshold_ |
std::string | ip_ |
uint64_t | uid_ |
std::string | username_ |
std::string | displayName_ |
std::string | usernameWithLock_ |
uint64_t | userSessionIndex_ |
can use session index to track a user's session on multiple devices/browsers | |
Friends | |
class | WebUsers |
Definition at line 239 of file WebUsers.h.
|
inline |
< init to invalid user, since only WebUser owner will have access to uid. RemoteWebUsers will see invalid uid.
Definition at line 245 of file WebUsers.h.
|
inline |
< default to inactive, i.e. no access
< if group is in allowed groups
< AND...
< if is a new high level, then...
< take as new permission level
Definition at line 279 of file WebUsers.h.
|
inline |
end setGroupPermissionLevels()
< default to inactive, i.e. no access
< re-factor membership string to set
< setup permissionLevel_
< was fully setup
Definition at line 256 of file WebUsers.h.