Skip to content

Conversation

@mbillow
Copy link
Member

@mbillow mbillow commented Dec 28, 2016

Solves #103

Copy link
Member

@liam-middlebrook liam-middlebrook left a comment

Choose a reason for hiding this comment

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

Also if you could rebase away the merge commit.

# get user data

user_name = request.headers.get('x-webauth-user')
account = ldap_get_member(user_name)
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: not sure if we've used the language account for this before. But I'd prefer something like current account. That way account can be reserved for some kind of interation

Copy link
Member Author

Choose a reason for hiding this comment

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

It was something I choose when transitioning over to the new library. Account is the keyword I chose to denote the passing of the actual object over a string or their username (which we called all sorts of different things [uid, username, user_name, etc]). I am not sure what you mean by integration. Even if we found a better use for the the "account" keyword, having current_account and account being completely different, unrelated possess completely different functionality would be a terrible design choice.

Copy link
Collaborator

@stevenmirabito stevenmirabito left a comment

Choose a reason for hiding this comment

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

🚢

@mbillow mbillow merged commit f4cbb59 into develop Dec 28, 2016
@mbillow mbillow deleted the housing-queue branch December 28, 2016 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants