Problem/Motivation

By moving away from roles (that are being used as scopes) to the new dedicated scope entity, this would introduce a breaking change.

Proposed resolution

  • Lookup roles being used as scope in all consumers.
  • Create scopes ("oauth2_scope" entity) for each role.
    • Use role name and id for the scope creation.
    • All grant types need to be enabled in the associated scopes.
    • Set granularity to 'Role'.
    • Reference the associated role
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bojan_dev created an issue. See original summary.

bojan_dev’s picture

Issue summary: View changes

bojan_dev’s picture

Issue summary: View changes
Status: Active » Needs review

  • bojan_dev committed 4b12884 on 6.0.x
    Issue #3269822: Migrate roles (used as scopes) to the new "Scope" entity
    
bojan_dev’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.