git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some code reordering
[stg.git]
/
tests
/
testusers.h
diff --git
a/tests/testusers.h
b/tests/testusers.h
index 780d0dd9483e771cef90761e7ea317ac62f7b04d..b207ccb6cea2e13578d4f85e2221965238c18287 100644
(file)
--- a/
tests/testusers.h
+++ b/
tests/testusers.h
@@
-21,6
+21,11
@@
class TEST_USERS : public USERS {
{ return 0; }
void Del(const std::string & /*login*/, const ADMIN * /*admin*/) {}
{ return 0; }
void Del(const std::string & /*login*/, const ADMIN * /*admin*/) {}
+ bool Authorize(const std::string &, uint32_t, uint32_t, const AUTH *)
+ { return false; }
+ bool Unauthorize(const std::string &, const AUTH *)
+ { return false; }
+
int ReadUsers() { return 0; }
virtual size_t Count() const { return 0; };
int ReadUsers() { return 0; }
virtual size_t Count() const { return 0; };