Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Conversation

@TwelveNights
Copy link
Member

Description

Creates webtasks with the disabled flag always set.

References

https://auth0team.atlassian.net/browse/ESD-21604

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@TwelveNights TwelveNights self-assigned this Aug 16, 2022
@TwelveNights TwelveNights force-pushed the ESD-21604-enabled-flag branch from 6cb7c5c to f92dc99 Compare June 1, 2023 17:08
onOutput: function (log, build, url) {
var action = claims ? 'updated' : 'created';
var state = args.meta['auth0-extension-disabled'] ? 'disabled' : 'enabled';
var state = args.meta['auth0-extension-disabled'] === "1" ? 'disabled' : 'enabled';
Copy link
Contributor

@ggoodman ggoodman Jun 2, 2023

Choose a reason for hiding this comment

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

Copy link
Contributor

@ggoodman ggoodman left a comment

Choose a reason for hiding this comment

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

These changes LGTM and I'd approve them as-is. That being said, given all these checks for 'is enabled' or 'is disabled' a helper function might be warranted, like isDisabled(meta) to centralize the check.

@TwelveNights TwelveNights merged commit 3053ce8 into master Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants