CCF
Loading...
Searching...
No Matches
namespace_restrictions.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
6
7#include <functional>
8#include <string>
9
10namespace ccf::js
11{
12 // A function which calculates some access permission based on the given map
13 // name. Should also populate an explanation, which can be included in error
14 // messages if disallowed methods are accessed.
16 const std::string& map_name, std::string& explanation)>;
17}
Definition bundle.h:12
std::function< KVAccessPermissions(const std::string &map_name, std::string &explanation)> NamespaceRestriction
Definition namespace_restrictions.h:16
KVAccessPermissions
Definition kv_access_permissions.h:10