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

✨(dimail) automate allows requests to dimail when creating domain accesses #544

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mjeammet
Copy link
Member

@mjeammet mjeammet commented Nov 20, 2024

Purpose

Automatically send user creation and allow creation requests to dimail
upon creating domain access.

Proposal

Description...

  • client function to send user creation request
  • client fuction to send allow creation request
  • test basic case for admin/owner
  • test basic case for viewer (no call made)
  • test wen user already exists
  • test OK when user is already admin/owner (switching from one to the other)
  • make sure it triggers when creating a domain !
  • handle update of existing domain access (in another PR ?)

@mjeammet mjeammet self-assigned this Nov 20, 2024
@mjeammet mjeammet linked an issue Nov 21, 2024 that may be closed by this pull request
@mjeammet mjeammet force-pushed the mpj/dimail/automate-allows branch 2 times, most recently from 06963e0 to 559b78e Compare November 22, 2024 16:07
@mjeammet
Copy link
Member Author

mjeammet commented Dec 2, 2024

Something it breaking test test_api_mail_domain__accesses_create_authenticated_administrator : the validate method should raise an exception line 177 and prevent us from entering the create. Still, it seems like it doesn't stop us.

Do you have any idea what is happening, @sdemagny ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[dimail] automatisation de la création de "allows' dans dimail
1 participant