Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced loadedPermissions with role #19896

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Commits on Mar 20, 2024

  1. Replaced loadedPermissions with role

    ref ENG-728
    ref https://linear.app/tryghost/issue/ENG-728
    
    The loadedPermissions were only used to check roles or whether an api key was
    used. The later is already exposed on the `context` object, so we just need
    to pass the role. This allows us to internally change how permissions are
    loaded without having downstream effects, it also moves us closer to pulling
    roles out of the db and into hardcoded strings.
    allouis committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    67941df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c82f69f View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Configuration menu
    Copy the full SHA
    36e65c1 View commit details
    Browse the repository at this point in the history