{"version":"2.1.299","anchor":"gateway-supports-a-deniedmodels-denylist","canonical_anchor":"gateway-supports-a-deniedmodels-denylist","heading":"Gateway blocks models listed in a role's deniedModels","tier":"notice","area":"Gateway","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/gateway-supports-a-deniedmodels-denylist","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Gateway blocks models listed in a role's `deniedModels`\n\nThe gateway now rejects models in a role's `deniedModels` list and hides them from the model list, alongside the `availableModels` allowlist\n\n**What**\n\nThe gateway now enforces a role's `deniedModels` list. Before, it only checked the `availableModels` allowlist.\n\n- A request for a denied model is rejected with a message saying it is blocked by your role's `deniedModels` denylist.\n\n- Denied models are removed from the list of models you can pick.\n\n**Why**\n\nAdministrators can block specific models for a role, not only list the ones that are allowed.\n\n- Area: Gateway\n- Names: `deniedModels`, `availableModels`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: yes"}