diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-09-25 16:09:40 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-09-26 13:50:11 -0400 |
commit | baf629bdeeaa6a3069fbe087eeb5078d3d0b1f7c (patch) | |
tree | 7694813112baed7bf0a11fb2519dc5888fdbb66a /src/mongo/db/auth/privilege.h | |
parent | fb4944060d8636f37dc400a9ce1339fd20fd96f6 (diff) | |
download | mongo-baf629bdeeaa6a3069fbe087eeb5078d3d0b1f7c.tar.gz |
SERVER-9515 Provide mechanism to convert a ParsedPrivilege into a Privilege object
Diffstat (limited to 'src/mongo/db/auth/privilege.h')
-rw-r--r-- | src/mongo/db/auth/privilege.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/auth/privilege.h b/src/mongo/db/auth/privilege.h index d9370705ffa..dda2aca6c09 100644 --- a/src/mongo/db/auth/privilege.h +++ b/src/mongo/db/auth/privilege.h @@ -19,6 +19,7 @@ #include "mongo/db/auth/action_set.h" #include "mongo/db/auth/action_type.h" +#include "mongo/db/auth/privilege_parser.h" #include "mongo/db/auth/resource_pattern.h" namespace mongo { @@ -29,6 +30,7 @@ namespace mongo { class Privilege { public: + Privilege() {}; Privilege(const ResourcePattern& resource, const ActionType& action); Privilege(const ResourcePattern& resource, const ActionSet& actions); ~Privilege() {} |