summaryrefslogtreecommitdiff
path: root/internal/controlplane/access_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/controlplane/access_test.go')
-rw-r--r--internal/controlplane/access_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/controlplane/access_test.go b/internal/controlplane/access_test.go
index 7767e0d..d871024 100644
--- a/internal/controlplane/access_test.go
+++ b/internal/controlplane/access_test.go
@@ -13,8 +13,12 @@ func TestConsoleRolePermissions(t *testing.T) {
{RoleTenantAdmin, "keys.write", true},
{RoleTenantAdmin, "limits.write", true},
{RoleTenantBilling, "billing.topup", true},
+ {RoleTenantBilling, "billing.preferences.write", true},
+ {RoleTenantBilling, "developer.preferences.write", false},
{RoleTenantBilling, "keys.read", false},
{RoleTenantDeveloper, "keys.write", true},
+ {RoleTenantDeveloper, "developer.preferences.write", true},
+ {RoleTenantDeveloper, "billing.preferences.write", false},
{RoleTenantDeveloper, "billing.read", false},
{RoleTenantViewer, "usage.read", true},
{RoleTenantViewer, "users.read", false},