Skip to content

Allow single profile per act instead of array of profiles #12

@Wardormeur

Description

@Wardormeur

If profile is misdefined and uses a single object, the permission will be ignored.
https://github.com/CoderDojo/cp-permissions-plugin/blob/master/lib/check_profiles.js#L199 should ensure that profiles, if an object, should be casted as an array, or reject

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