Skip to content

chore: improve how-to guide concerning scopes#11

Open
mirdono wants to merge 2 commits intomu-semtech:masterfrom
mirdono:chore/improve-scopes-documentation
Open

chore: improve how-to guide concerning scopes#11
mirdono wants to merge 2 commits intomu-semtech:masterfrom
mirdono:chore/improve-scopes-documentation

Conversation

@mirdono
Copy link
Copy Markdown
Collaborator

@mirdono mirdono commented Mar 30, 2026

The initial version of the scopes how-to guide combines an access-by-query
group with a scope. Furthermore, the how-to guide was not explicit about the fact that requests need specify the correct scope and belong to the right group.

This PR clarifies this how-to guide by

  • Starting its example with an always-accessible group. This situation matches
    the typical use case using scopes to restrict access for a session-less
    service.
  • Emphasising that the group and scope for requests must match for a grant to be
    applicable.
  • The combination of a scope and access-by-query group is illustrated as a
    second example at the end of the section. This is intended to clarify the
    somewhat subtle difference between the two use case.

Furthermore, this PR corrects some smaller errors throughout the README that caught my eye.

Thanks to @cecemel for raising this issue.

mirdono added 2 commits March 30, 2026 11:55
The initial version of the scopes how-to guide used an `access-by-query`
group. But in the typical use case of using scopes to restrict access for a
session-less services an `always-accessible` group is likely to be used. This
commit updates the how-to guide to match this use case more closely.

This situation of combining an `access-by-query` group with a scope is now
explained at the end of the guide to clarify the somewhat subtle difference
between the two cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant