Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Conversation

@ambuznego
Copy link
Collaborator

No description provided.

@vicmgs
Copy link
Contributor

vicmgs commented Jul 11, 2022

we can probably surface the "vetted" attribute through some newly created endpoint that is called on organizationIndex page if USER_INVITE_ONLY?

or in checkRegisteredUser in auth/magic.js, dispatch something to store that says this user cannot create orgs

@ambuznego ambuznego changed the title Limit ability to add organization in Nova console Limit ability to add organization in Nova console (and invite-only envs) Jul 11, 2022
@ambuznego ambuznego marked this pull request as ready for review July 11, 2022 23:15
@ambuznego ambuznego requested a review from vicmgs July 11, 2022 23:15
case get_user_by_id(user_id) do
%{super: is_super} -> get_user_data_map(user_id, email, is_super)
_ -> get_user_data_map(user_id, email)
%{super: is_super} -> get_user_data_map(user_id, email, vetted, is_super)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we default superuser to vetted

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added!

Copy link
Contributor

@vicmgs vicmgs left a comment

Choose a reason for hiding this comment

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

one comment, lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants