Skip to content
This repository has been archived by the owner on May 13, 2018. It is now read-only.

Commit

Permalink
Fetching the rpc services as resources instead of coding separate han…
Browse files Browse the repository at this point in the history
…dling for them.
  • Loading branch information
hugowetterberg committed Mar 31, 2009
1 parent 062ffad commit a3398ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services_oauth.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ function _services_oauth_admin_authentication() {

$form['intro'] = array('#value' => '<p>' . t('You can change the lowest required OAuth authentication level and the authorization level for resources and methods here. This doesn\'t affect the access checks, so the security of your site <em>should</em> not be affected by changing the authentication requirements.') . '</p>');

$methods = services_get_all(FALSE);
$resources = services_get_all_resources(FALSE);
$resources = services_get_all_resources(TRUE);
$auth_levels = array('*' => t('Full access'));
foreach (services_oauth_authorization_levels() as $name => $level) {
$auth_levels[$name] = t($level->title);
Expand Down

0 comments on commit a3398ef

Please sign in to comment.