function user_admin_access_edit

6.x user.admin.inc user_admin_access_edit($aid = 0)

Menu callback: edit an access rule.

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

File

drupal-6.x/modules/user/user.admin.inc, line 746
Admin page callback file for the user module.

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'));
}