Permalink
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...
vboctor committed Nov 3, 2013
1 parent d3200ab commit 8b655d381e85aefac6914a7a663aa57bf8d02696
Showing with 4 additions and 0 deletions.
  1. +4 −0 api/soap/mc_project_api.php
@@ -138,6 +138,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();

0 comments on commit 8b655d3

Please sign in to comment.