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

Fix: Groups support for Secret Approvals and Access Requests #1773

Open
wants to merge 346 commits into
base: daniel/request-access
Choose a base branch
from

Conversation

DanielHougaard
Copy link
Collaborator

No description provided.

t.foreign("approverUserId").references("id").inTable(TableName.Users).onDelete("CASCADE");
});

await knex.schema.alterTable(TableName.SecretApprovalRequest, (t) => {
Copy link
Member

Choose a reason for hiding this comment

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

I was testing identity for secret replication and issue is then i would need to add all these fields again . May be instead we do it like permission there is non nullable - `type"which says whether its user or identity and keep rest as generic like before

Then do a conditional join

Copy link
Member

Choose a reason for hiding this comment

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

Kindly make the migration file idempotent

backend/src/ee/services/group/group-dal.ts Outdated Show resolved Hide resolved
@DanielHougaard DanielHougaard force-pushed the daniel/request-access branch 2 times, most recently from 06871fc to 9a585ad Compare May 7, 2024 15:30
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.

None yet

4 participants