Skip to content

APP_DEFAULT_{EVENTS,PERMISSIONS} are incompatible #7

@sodre

Description

@sodre

The default parameters are incompatible. A push event requires more than just the metadata=read permission.

The list of available events is here.
The list of available permissions is TBD.

with env.prefixed("DEFAULT_"):
APP_DEFAULT_EVENTS = env.list(
"EVENTS", "push", validate=ContainsOnly(valid_events)
)
APP_DEFAULT_PERMISSIONS = env.dict("PERMISSIONS", "metadata=read")

This is the error message:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions