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

Can not create releases on CaC projects that use an outdated step template without action template view permission #7579

Closed
1 task done
dylanlerch opened this issue Jun 2, 2022 · 2 comments
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving p1

Comments

@dylanlerch
Copy link

Team

  • I've assigned a team label to this issue

Severity

Blocking release creation for some users of some CaC project

Version

2022.2.5531 onward

Latest Version

I could reproduce the problem in the latest build

What happened?

Creating a release that uses a step template incorrectly requires ActionTemplateView permission if the process uses an out of date step template.

Reproduction

  • Create a Git project
  • Add a step template to the process
  • Update the step template (but do not update the template used by the process)
  • Attempt to create a release with a user that only has ReleaseCreate, ProjectView, and ProcessView permissions.

Error and Stacktrace

No response

More Information

This is similar to #7560, but follows a slightly different code path.

Workaround

Update to the latest version of the step template in the your deployment process

@dylanlerch dylanlerch added kind/bug This issue represents a verified problem we are committed to solving p1 state/triage labels Jun 2, 2022
@dylanlerch dylanlerch self-assigned this Jun 2, 2022
@octoreleasebot
Copy link

Release Note: Fix issue where action template view permission was incorrectly required when creating releases for processes that used old versions of action templates

@Octobob
Copy link
Member

Octobob commented Aug 29, 2022

🎉 The fix for this issue has been released in:

Release stream Release
2022.2 2022.2.6433
2022.3 2022.3.1142
2022.4+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving p1
Projects
None yet
Development

No branches or pull requests

3 participants