some ezc functions from templates/item.cpp moved to Item and ItemContent
methods HasAccess() HasReadAccess() and similar moved from System to Item and ItemContent
This commit is contained in:
@@ -48,6 +48,7 @@ class Mounts;
|
||||
class Users;
|
||||
class Groups;
|
||||
class SLog;
|
||||
class Session;
|
||||
|
||||
|
||||
class WinixModelConnector : public morm::ModelConnector
|
||||
@@ -64,6 +65,17 @@ public:
|
||||
Users * get_winix_users();
|
||||
Groups * get_winix_groups();
|
||||
SLog * get_winix_session_logger();
|
||||
Session * get_winix_session();
|
||||
|
||||
const Config * get_winix_config() const;
|
||||
const Request * get_winix_request() const;
|
||||
const Log * get_winix_logger() const;
|
||||
const Dirs * get_winix_dirs() const;
|
||||
const Mounts * get_winix_mounts() const;
|
||||
const Users * get_winix_users() const;
|
||||
const Groups * get_winix_groups() const;
|
||||
const SLog * get_winix_session_logger() const;
|
||||
const Session * get_winix_session() const;
|
||||
|
||||
void set_winix_config(Config * config);
|
||||
void set_winix_request(Request * request);
|
||||
@@ -73,6 +85,7 @@ public:
|
||||
void set_winix_users(Users * users);
|
||||
void set_winix_groups(Groups * groups);
|
||||
void set_winix_session_logger(SLog * slog);
|
||||
void set_winix_session(Session * session);
|
||||
|
||||
|
||||
protected:
|
||||
@@ -85,6 +98,7 @@ protected:
|
||||
Users * users;
|
||||
Groups * groups;
|
||||
SLog * slog;
|
||||
Session * session;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user