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

[TC-427] User tenancy validation #735

Closed
wants to merge 10 commits into from
Closed

[TC-427] User tenancy validation #735

wants to merge 10 commits into from

Conversation

nir-sopher
Copy link
Contributor

Updating the user API to enforce user tenancy access control.

@nir-sopher nir-sopher changed the title User tenancy validation [TC-427] User tenancy validation Jul 19, 2017
@@ -477,6 +506,13 @@ sub update_current {
return $self->alert( "Profile cannot be updated because '" . $user->{username} . "' is logged in as LDAP." );
}

if ( defined( $user->{"tenantId"} ) ) {
Copy link
Member

Choose a reason for hiding this comment

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

Can you make it so you can update your current user....but only with an approved tenant?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@asfgit asfgit closed this in 53db379 Jul 19, 2017
@mitchell852 mitchell852 self-assigned this Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants