summaryrefslogtreecommitdiff
path: root/include/fud_permissions.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/fud_permissions.hpp')
-rw-r--r--include/fud_permissions.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fud_permissions.hpp b/include/fud_permissions.hpp
index 66eec0c..d79fe79 100644
--- a/include/fud_permissions.hpp
+++ b/include/fud_permissions.hpp
@@ -186,6 +186,12 @@ constexpr PermissionField operator|(PermissionField lhs, PermissionField rhs)
constexpr PermissionField PermReadWrite = PermissionType::Read | PermissionType::Write;
+constexpr Permissions PermAllReadWrite{PermReadWrite, PermReadWrite, PermReadWrite};
+
+constexpr Permissions PermUserGroupReadWrite{PermReadWrite, PermReadWrite, PermissionField{PermissionType::None}};
+
+constexpr Permissions PermUserRwGroupRead{PermReadWrite, PermReadWrite, PermissionField{PermissionType::None}};
+
} // namespace fud
#endif