Skip to content

edit_others not working #185

@datdinhquoc

Description

@datdinhquoc

I put return True in the function can_edit_others but it's not working, I don't see others' dashboards when I use admin user. Any user should be able to see all others' stuff when function can_edit_others simply returns True. This happens only when I turn on filtering by username; when not filtering by username, I see all dashboards, all charts.

def can_edit_others(view_id):
    return True

app.config["JSONDASH"] = dict(
    ...,
    auth=dict(
        edit_global = can_edit_global,
        edit_others = can_edit_others
    )
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions