API Key Scope Editable

apikey_scope_editable
REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/17.0/apikey_scope_editable
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTechnical
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Sygel
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Sygel
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, sygel
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the built-in [Odoo API Keys](https://www.odoo.com/documentation/17.0/developer/reference/external_api.html#api-keys) by allowing you to define a scope at the moment of creation.

With scopes, you can restrict an API Key so that it only grants access to a specific application, model, or functional area of the system.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
form_res_users_key_description form_res_users_key_description res.users.apikeys.description xpath Inherits base.form_res_users_key_description
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • custom_scope Char
  • has_custom_scope Boolean
  • scope Selection
    args: [('rpc', 'rpc')]
Public methods (1)
  • make_key(self)
    @check_identity