IRightsProvider.h
Go to the documentation of this file.
1 #ifndef iauth_IRightsProvider_included
2 #define iauth_IRightsProvider_included
3 
4 
5 // Qt includes
6 #include <QtCore/QByteArray>
7 
8 // ACF includes
9 #include "istd/IChangeable.h"
10 
11 
12 namespace iauth
13 {
14 
15 
16 class IRightsProvider: virtual public istd::IChangeable
17 {
18 public:
24  virtual bool HasRight(
25  const QByteArray& operationId,
26  bool beQuiet = false) const = 0;
27 };
28 
29 
30 } // namespace iauth
31 
32 
33 #endif // !iauth_IRightsProvider_included
34 
35 
virtual bool HasRight(const QByteArray &operationId, bool beQuiet=false) const =0
Checks if user has rights for specific operation.

© 2007-2011 Witold Gantzke and Kirill Lepskiy