Skip to content

Conversation

@christyjacob4
Copy link
Contributor

@christyjacob4 christyjacob4 commented Apr 15, 2023

What does this PR do?

Adds support for disallowing personal data in passwords

Screen.Recording.2023-04-15.at.2.15.16.PM.mov

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

@vercel
Copy link

vercel bot commented Apr 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
console ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2023 8:38pm
console-1-3-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2023 8:38pm
console-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2023 8:38pm
console-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2023 8:38pm

import type { BarSeriesOption } from 'echarts/charts';

export const project = derived(page, ($page) => $page.data.project as Models.Project);
export const project = derived(page, ($page) => $page.data.project as Models.Project | any);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does it need the any? 🤔 and if it's really necessary would it work with unknown?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't have the new project model which has the disallowPersonalData attribute since we are not using the generated SDK yet.

@TorstenDittmann asked me to patch it up this way and have all the changes in one single branch ( main ) in this case and he'd generate & release a new console sdk after all changes are in there

async function updatePersonalDataCheck() {
try {
const path = '/projects/' + $project.$id + '/auth/personal-data';
await sdk.forConsole.client.call(
Copy link
Contributor

Choose a reason for hiding this comment

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

Are there any plans to add this to the SDK?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ArmanNik yes, Torsten said we'd do it once all the changes for 1.4 are merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

resolved 👍

@christyjacob4 christyjacob4 changed the base branch from main to 1.4.x August 8, 2023 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants