Skip to content

#check_admin_set is overly cautious #76

Description

@aploshay

Profile deletion attempts first call check_admin_set, which returns true if the Profile is affiliated to any admin sets that contain any works. This results in a condition where a newly-created, but entirely-unused profile, refuses deletion claiming that it is in use, even if no works have been created with the profile or updated to use it.

Suggest softening the condition as done in IU-Libraries-Joint-Development/essi@0929763

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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