Skip to content

Don't try to fetch ACLs for unsaved/new scopes #660

@derrabauke

Description

@derrabauke

Description

In the scope.edit view when creating a new scope, the ACL table tries to fetch the ACLs for the current scope. As the scope model isNew, it can not have any ACLs and the request for the table returns a 400, cause it's missing the scope id query param. As we know this request will fail up front, we should not make it in the first place.

image

Expected behavior

The table should not try to fetch the ACLs when the currently selected scope isNew === true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions