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
Issue fork simple_oauth-3269822
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
Comment #2
bojan_dev commentedComment #4
bojan_dev commentedComment #6
bojan_dev commented