Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Fixes #16573: mc_projects_get_user_accessible requires read/w…

…rite api access where it shouldn't."

This reverts commit b4131c9.
  • Loading branch information...
commit 2c647fcea07f9f267db3b670d541ca9949ca0cc0 1 parent afe29c5
@vboctor vboctor authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 api/soap/mc_project_api.php
View
4 api/soap/mc_project_api.php
@@ -129,6 +129,10 @@ function mc_projects_get_user_accessible( $p_username, $p_password ) {
return mci_soap_fault_login_failed();
}
+ if( !mci_has_readonly_access( $t_user_id ) ) {
+ return mci_soap_fault_access_denied( $t_user_id );
+ }
+
$t_lang = mci_get_user_lang( $t_user_id );
$t_result = array();
Please sign in to comment.
Something went wrong with that request. Please try again.