const PolicyTypeValue policy_type_value,
const PolicyAccess*& policy) const;
- /** Adds item to ownership policy
- * \param[in] policy_type Policy type
- * \param[in] policy_type_value Policy type value
- * \param[in] item Item to add
- */
- void addItem(const PolicyType policy_type,
- const PolicyTypeValue policy_type_value,
- ItemOwn* const item);
-
- /** Adds item to send/receive policy
- * \param[in] policy_type Policy type
- * \param[in] policy_type_value Policy type value
- * \param[in] item Item to add
- */
- void addItem(const PolicyType policy_type,
- const PolicyTypeValue policy_type_value,
- ItemSendReceive* const item);
-
- void addItem(const PolicyType policy_type,
- const PolicyTypeValue policy_type_value,
- ItemAccess* const item);
-
private:
typedef std::vector<gid_t> VGid;
const VGid *getGroups(uid_t uid, gid_t gid, const ItemType type) const;
void initializeGroups(uid_t uid, gid_t gid);
+
+ /** Adds item to ownership policy
+ * \param[in] policy_type Policy type
+ * \param[in] policy_type_value Policy type value
+ * \param[in] item Item to add
+ */
+ void addItem(const PolicyType policy_type,
+ const PolicyTypeValue policy_type_value,
+ ItemOwn* const item);
+
+ /** Adds item to send/receive policy
+ * \param[in] policy_type Policy type
+ * \param[in] policy_type_value Policy type value
+ * \param[in] item Item to add
+ */
+ void addItem(const PolicyType policy_type,
+ const PolicyTypeValue policy_type_value,
+ ItemSendReceive* const item);
+
+ /** Adds item to access policy
+ * \param[in] policy_type Policy type
+ * \param[in] policy_type_value Policy type value
+ * \param[in] item Item to add
+ */
+ void addItem(const PolicyType policy_type,
+ const PolicyTypeValue policy_type_value,
+ ItemAccess* const item);
};
}
#endif