cinema6 / proshop

Cinema6 provisioning and administrative system
0 stars 0 forks source link

Handle new users without orgs #150

Closed leichter closed 8 years ago

leichter commented 8 years ago

When users are created through the signup endpoint, they have status === 'new' and no org. Proshop is fetching these users and then attempting to fetch the org undefined, which is failing and causing the entire UI to break. Proshop should handle these new users and not attempt to fetch their orgs (honestly, you probably shouldn't be able to edit new users in proshop, at least for now, since we don't want people to assign these users to other orgs or set roles + policies for them).