Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@eguerrant
Copy link
Contributor

@eguerrant eguerrant commented Oct 30, 2024

Adding role requests (like access requests but so that role owners can request that their roles are added to a group).

This is just the API piece. The UI will be in a separate PR.

I have no clue how to fix the last failing test atm...

@eguerrant eguerrant changed the title Role requests Role requests API Oct 31, 2024
@eguerrant eguerrant marked this pull request as ready for review November 1, 2024 00:25
sa.ForeignKeyConstraint(['resolver_user_id'], ['okta_user.id'], name=op.f('fk_role_request_resolver_user_id_okta_user')),
sa.PrimaryKeyConstraint('id', name=op.f('pk_role_request'))
)
with op.batch_alter_table('access_request', schema=None) as batch_op:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Interesting, I'm not sure why all these existing columns had nullable=True in the initial migration https://github.com/discord/access/blob/main/migrations/versions/d6db40b0805d_initial_migration.py

@somethingnew2-0
Copy link
Collaborator

Looks like the tests aren't passing quite yet, but it's getting close!

@eguerrant eguerrant merged commit 39473dc into main Nov 8, 2024
@eguerrant eguerrant deleted the role_requests branch November 8, 2024 17:32
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.

3 participants