Skip to content

Fix permission checking for Contact Information#2306

Open
danloveg wants to merge 6 commits intoartefactual:qa/2.xfrom
danloveg:dev/issue-2095-fix-contact-info-perms
Open

Fix permission checking for Contact Information#2306
danloveg wants to merge 6 commits intoartefactual:qa/2.xfrom
danloveg:dev/issue-2095-fix-contact-info-perms

Conversation

@danloveg
Copy link
Contributor

@danloveg danloveg commented Mar 2, 2026

Closes #2095

Delegate contact information permission checking to parent QubitRepository or QubitActor when a contact information is linked to either.

A QubitContactInformation might be linked to an actor or a repository.
There are no specific permissions for contact information objects, so in
the case the object is linked to a repository or actor, do the
permission check on that parent object instead.
@sarah-mason sarah-mason added the Community Pull requests that have been contributed from community members outside Artefactual label Mar 2, 2026
Copy link
Contributor

@anvit anvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @danloveg. This looks great!

@anvit anvit added this to the 2.11 milestone Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Pull requests that have been contributed from community members outside Artefactual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem: Unable to edit Contact Information despite having Update permissions for Archival institutions

3 participants