You are here

function user_admin_access_edit in Drupal 5

Same name and namespace in other branches
  1. 4 modules/user.module \user_admin_access_edit()
  2. 6 modules/user/user.admin.inc \user_admin_access_edit()

Menu callback: edit an access rule

1 string reference to 'user_admin_access_edit'
user_menu in modules/user/user.module
Implementation of hook_menu().

File

modules/user/user.module, line 1713
Enables the user registration and login system.

Code

function user_admin_access_edit($aid = 0) {
  $edit = db_fetch_array(db_query('SELECT aid, type, status, mask FROM {access} WHERE aid = %d', $aid));
  return drupal_get_form('user_admin_access_edit_form', $edit, t('Save rule'));
}