1b643958b6
Reviewers: mtomic, teon.banek Reviewed By: mtomic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1544
13 lines
289 B
C++
13 lines
289 B
C++
#include "auth/models.hpp"
|
|
#include "query/frontend/ast/ast.hpp"
|
|
|
|
namespace glue {
|
|
|
|
/**
|
|
* This function converts query::AuthQuery::Privilege to its corresponding
|
|
* auth::Permission.
|
|
*/
|
|
auth::Permission PrivilegeToPermission(query::AuthQuery::Privilege privilege);
|
|
|
|
} // namespace glue
|