Skip to content

Default menu links should check a real permission  #1068

@simonw

Description

@simonw

@hookimpl
def menu_links(datasette, actor):
if actor and actor.get("id") == "root":

This should check a named permission so that it can be customized by permission plugins.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions