diff --git a/api/swagger.yaml b/api/swagger.yaml index 6499dab61..6a69707c5 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -1889,7 +1889,14 @@ definitions: type: "integer" example: 1 description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP." - + AllowBindMountsForRegularUsers: + type: "boolean" + example: false + description: "Whether non-administrator should be able to use bind mounts when creating containers" + AllowPrivilegedModeForRegularUsers: + type: "boolean" + example: true + description: "Whether non-administrator should be able to use privileged mode when creating containers" TLSConfiguration: type: "object" properties: @@ -1987,6 +1994,14 @@ definitions: description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP." LDAPSettings: $ref: "#/definitions/LDAPSettings" + AllowBindMountsForRegularUsers: + type: "boolean" + example: false + description: "Whether non-administrator should be able to use bind mounts when creating containers" + AllowPrivilegedModeForRegularUsers: + type: "boolean" + example: true + description: "Whether non-administrator should be able to use privileged mode when creating containers" Settings_BlackListedLabels: properties: name: @@ -2394,6 +2409,14 @@ definitions: description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP." LDAPSettings: $ref: "#/definitions/LDAPSettings" + AllowBindMountsForRegularUsers: + type: "boolean" + example: true + description: "Whether non-administrator users should be able to use bind mounts when creating containers" + AllowPrivilegedModeForRegularUsers: + type: "boolean" + example: true + description: "Whether non-administrator users should be able to use privileged mode when creating containers" UserCreateRequest: type: "object" required: