diff --git a/api/sam/spec/permissions.json b/api/sam/spec/permissions.json index 2b5225f9b..80cd69fc4 100644 --- a/api/sam/spec/permissions.json +++ b/api/sam/spec/permissions.json @@ -5,7 +5,7 @@ "Struct": [ { "imports": [ - "github.com/crusttech/crust/internal/rbac" + "github.com/crusttech/crust/internal/rules" ] } ], @@ -73,7 +73,7 @@ "name": "permissions", "required": true, "title": "List of permissions to set", - "type": "[]rbac.Permission" + "type": "[]rules.Permission" } ] } diff --git a/docs/sam/README.md b/docs/sam/README.md index 51020a62c..0e8a3c7b9 100644 --- a/docs/sam/README.md +++ b/docs/sam/README.md @@ -492,7 +492,7 @@ The following event types may be sent with a message event: | Parameter | Type | Method | Description | Default | Required? | | --------- | ---- | ------ | ----------- | ------- | --------- | | team | string | PATH | Team ID | N/A | YES | -| permissions | []rbac.Permission | POST | List of permissions to set | N/A | YES | +| permissions | []rules.Permission | POST | List of permissions to set | N/A | YES |