|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
21 #include "core/auth/Group_odb.h"
22 #include "core/auth/User_odb.h"
32 timestamp_ = boost::posix_time::second_clock::local_time();
78 return user_.object_id();
89 if (m1->user_id() == 0 || m1->group_id() == 0 || m2->user_id() == 0 ||
91 return std::addressof(m1) < std::addressof(m2);
93 return std::make_pair(m1->user_id(), m1->group_id()) <
94 std::make_pair(m2->user_id(), m2->group_id());
const GroupLWPtr group() const
Holds classes relevant to the Authentication and Authorization subsystem.
UserGroupMembershipId id_
const UserLWPtr & user() const
odb::lazy_weak_ptr< User > UserLWPtr
std::shared_ptr< User > UserPtr
boost::posix_time::ptime timestamp_
This is the header file for a generated source file, GitSHA1.cpp.
unsigned long UserGroupMembershipId
std::shared_ptr< Group > GroupPtr
const boost::posix_time::ptime & timestamp() const
std::shared_ptr< UserGroupMembership > UserGroupMembershipPtr
bool operator()(const UserGroupMembershipPtr &m1, const UserGroupMembershipPtr &m2) const
GroupRank
The rank of an User inside a Group.
odb::lazy_weak_ptr< Group > GroupLWPtr
const UserGroupMembershipId & id() const