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

When org.admin_active_ind = 0 then organization not showing in match #140

Closed
quequegg opened this issue Feb 12, 2018 · 4 comments
Closed
Assignees
Labels

Comments

@quequegg
Copy link
Collaborator

quequegg commented Feb 12, 2018

I toggled this 4 times to prove to myself this affect. I cannot explain why the email from Amelia stated that they could see "Shoulders Down" when I was not able to see it. When I toggled this flag I could make it appear and disappear.

Based on the name of this column, I feel like this is a bug. If this is intended, we need to document this.

I searched the stored procedures, I was not able to find mention of the column.

In mmaz, I left org 55 (app_user.user_id = 40) as a test case. Please delete these records when you are done with them.

@quequegg
Copy link
Collaborator Author

Related ... app_user.active_ind set to 0 does not prevent the organization from showing in the match.

@alandgri
Copy link
Collaborator

It's behaving as designed. The check is in selectNearbyOrgResponses:

WHERE org.active_ind = 1 AND org.admin_active_ind = 1

The desired behavior is for an organization to be able to turn themselves on and off at will with active_ind. An administrator should be able to turn an org on and off at will with admin_active_ind. The two are independent, and an org is only shown if both are turned on, meaning the org and the admin agree that the org should be displayed.

App_user.active_ind = 0 disable the user from logging in but does not disable the org from displaying. This is behaving as designed.

@alandgri
Copy link
Collaborator

Also, I disabled shoulders down while I was logged on researching the password reset issue.

@quequegg
Copy link
Collaborator Author

quequegg commented Feb 14, 2018 via email

@Discordanian Discordanian removed their assignment Feb 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants