Go to the documentation of this file.
10#include <QtCore/QByteArray>
31 I_ASSIGN(m_slaveProviderIfPtr,
"SlaveProvider",
"Slave rights provider",
false,
"SlaveProvider");
32 I_ASSIGN(m_defaultRightAttrPtr,
"DefaultRight",
"Default rights enabled",
false,
false);
33 I_ASSIGN_MULTI_0(m_rightsOnAttrPtr,
"RightsOn",
"List of enabled rights",
false);
34 I_ASSIGN_MULTI_0(m_rightsOffAttrPtr,
"RightsOff",
"List of disabled rights",
false);
39 const QByteArray& operationId,
40 bool beQuiet =
false)
const override;
48 I_ATTR(
bool, m_defaultRightAttrPtr);
49 I_MULTIATTR(QString, m_rightsOnAttrPtr);
50 I_MULTIATTR(QString, m_rightsOffAttrPtr);
52 typedef QSet<QByteArray> RightsList;
54 RightsList m_rightsOn;
55 RightsList m_rightsOff;
icomp::CComponentBase BaseClass
void OnComponentCreated() override
virtual bool HasRight(const QByteArray &operationId, bool beQuiet=false) const override
Checks if user has rights for specific operation.
Base class for component implementation.
Contains implementations of interfaces and components related to right management.
© Witold Gantzke and Kirill Lepskiy