Page MenuHomekolab.org

Add more statuses for user/domain creation process
ClosedPublic

Authored by machniak on Jan 29 2020, 10:56 AM.

Diff Detail

Repository
rK kolab
Branch
dev/status
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 27874
Build 9886: arc lint + arc unit

Event Timeline

machniak requested review of this revision.Jan 29 2020, 10:56 AM
machniak created this revision.
machniak updated this revision to Diff 2107.Jan 29 2020, 3:31 PM
  • Add account status info to /api/auth/info response
Harbormaster completed remote builds in B27850: Diff 2107.
machniak updated this revision to Diff 2113.Jan 30 2020, 12:47 PM
  • Display status info in dashboard
Harbormaster completed remote builds in B27856: Diff 2113.
machniak updated this revision to Diff 2119.Jan 30 2020, 2:42 PM
  • Add backend code for domain ownership confirmation
machniak updated this revision to Diff 2125.Jan 31 2020, 12:32 PM
  • IMAP backend
Harbormaster completed remote builds in B27868: Diff 2125.
machniak updated this revision to Diff 2131.Jan 31 2020, 12:45 PM
  • Small fixes
Harbormaster completed remote builds in B27874: Diff 2131.

Just some initial feedback, not even half-way through yet.

src/app/Jobs/ProcessDomainVerify.php
49

What currently happens is that the domain is created in LDAP, including the collateral OUs and roles and the likes.

It would just not have the necessary inetdomainstatus value:

query_filter = (&(objectclass=domainrelatedobject)(associateddomain=%s)(inetdomainstatus=*)(!(inetdomainstatus=deleted)))

This type of query filter may be adjusted to be the value of the bitflip though, and I've found the way to perform an LDAP query with said integer value against a bitwise.

machniak updated this revision to Diff 2164.Feb 4 2020, 9:25 AM
  • Simplify axios authorization and login/logout common code
machniak updated this revision to Diff 2170.Feb 4 2020, 4:28 PM
  • Fix duplicate api/auth/info request on dashboard
machniak updated this revision to Diff 2176.Feb 5 2020, 9:03 AM
  • Make the domain confirmation step a link to domain info page
vanmeeuwen accepted this revision.Feb 5 2020, 2:04 PM
This revision is now accepted and ready to land.Feb 5 2020, 2:04 PM
This revision was automatically updated to reflect the committed changes.