Skip to content

setLocallyAllowedTypes in constrains does not permit setting no allowed types  #354

@mblandi

Description

@mblandi

The check for default types within setLocallyAllowedTypes is nice to avoid problems, but it does not allow for a case when you may want to allow no types in a folder.

Something like this

if type_ not in defaults and type_ != '':

could be more elegant, but seems to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions