diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-06-05 21:40:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-05 21:40:44 -0300 |
| commit | 5174fc25698cff33b03b5746bf1742e417988f7d (patch) | |
| tree | 232a3acdd9b458de481dbd5cbde889505168c8e8 /src/PermissionsManager.cpp | |
| parent | 85ed897de3676af866cc619dc700025820c02201 (diff) | |
| download | RNT-5174fc25698cff33b03b5746bf1742e417988f7d.tar.gz RNT-5174fc25698cff33b03b5746bf1742e417988f7d.zip | |
Project C interface, reroute FOL plan enums & format
Diffstat (limited to '')
| -rw-r--r-- | src/PermissionsManager.cpp | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/src/PermissionsManager.cpp b/src/PermissionsManager.cpp index ddd49eb..bcdfdd7 100644 --- a/src/PermissionsManager.cpp +++ b/src/PermissionsManager.cpp @@ -1,19 +1,17 @@ #include "PermissionsManager.h" -namespace nt -{ - std::set<AUTH_CLAIM> PermissionsManager::Firewall(AUTH_METHOD method) - { +namespace nt { + std::set<AUTH_CLAIM> PermissionsManager::Firewall(AUTH_METHOD method) { return {}; } - const bool PermissionsManager::Access(const ObjectManager::registry* object, const void* connection_context) - { - // Checks the security descriptor on the head of the object we find in the ObjectManager::registry - // Then additionally check other metadata yet to be defined in the connection_context, - // like user group, policy, etc. - // Yet to decide if this should be summoned at every attempt to get ahold of an object, - // that might produce significant overhead. How can we solve this? + const bool PermissionsManager::Access(const ObjectManager::registry* object, + const void* connection_context) { + // Checks the security descriptor on the head of the object we find in the + // ObjectManager::registry Then additionally check other metadata yet to be defined in the + // connection_context, like user group, policy, etc. Yet to decide if this should be + // summoned at every attempt to get ahold of an object, that might produce significant + // overhead. How can we solve this? return object != nullptr; } -} +} // namespace nt |
