Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add basic auth model for Organization

Maidul Islam5162ba9b9104
diff --git a/backend/src/rbac/main.polar b/backend/src/rbac/main.polar
new file mode 100644
index 0000000000..c88143e51e
--- /dev/null
+++ b/backend/src/rbac/main.polar
@@ -0,0 +1,15 @@
+# Actoers
+actor User {}
+
+# Resource block
+resource Organization {
+ permissions = ["view", "delete", "edit_billing", "edit_members"];
+ roles = ["owner", "member"];
+
+ "view" if "member";
+ "delete" if "owner";
+ "edit_billing" if "owner";
+ "edit_members" if "owner";
+
+ "member" if "owner";
+}
\ No newline at end of file