Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use abstract default roles in contrib persons #6342

Merged

Conversation

duartegalvao
Copy link
Member

Currently, when adding people to contributions, they are attributed the "speaker" and "submitter" roles, but no author roles. Most people then save without realizing that they need to set the proper roles. WIth no default roles, the field validation will fail, making it obvious to the users that they need to set them.

This will also make the behavior of the field more similar to CfA.

@ThiefMaster
Copy link
Member

As discussed during our last meeting, it would be better to only change the logic when editing a contribution linked to an abstract. That way you avoid changing the behavior for events that use the "conference" event type but aren't real conferences, while having consistent behavior between CfA and contribution management for actual conferences.

@duartegalvao duartegalvao changed the title Remove default roles from contrib people field Use abstract default roles in contrib persons May 30, 2024
@ThiefMaster ThiefMaster force-pushed the contrib-plf-no-default-roles branch from 8013829 to 805c20b Compare June 4, 2024 15:02
@ThiefMaster ThiefMaster added this to the v3.3 milestone Jun 4, 2024
@ThiefMaster ThiefMaster enabled auto-merge (squash) June 4, 2024 15:04
@ThiefMaster ThiefMaster merged commit f8a4323 into indico:master Jun 4, 2024
9 checks passed
@ThiefMaster ThiefMaster deleted the contrib-plf-no-default-roles branch June 4, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 🚀
Development

Successfully merging this pull request may close these issues.

None yet

2 participants